Struct chain_vote::committee::MemberPublicKey
source · pub struct MemberPublicKey(pub(crate) PublicKey);
Expand description
Committee member election public key
Tuple Fields§
§0: PublicKey
Implementations§
Trait Implementations§
source§impl Bech32 for MemberPublicKey
impl Bech32 for MemberPublicKey
source§const BECH32_HRP: &'static str = _
const BECH32_HRP: &'static str = _
The human-readable prefix that is used to represent the
the object in the Bech32 format. On decoding, the HRP of the input
string is checked against this value.
source§fn try_from_bech32_str(bech32_str: &str) -> Result<Self, Error>
fn try_from_bech32_str(bech32_str: &str) -> Result<Self, Error>
Decodes the object from its Bech32 string representation.
source§fn to_bech32_str(&self) -> String
fn to_bech32_str(&self) -> String
Produces a Bech32 string format representation of the object.
source§impl Clone for MemberPublicKey
impl Clone for MemberPublicKey
source§fn clone(&self) -> MemberPublicKey
fn clone(&self) -> MemberPublicKey
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MemberPublicKey
impl Debug for MemberPublicKey
source§impl From<PublicKey> for MemberPublicKey
impl From<PublicKey> for MemberPublicKey
source§fn from(pk: PublicKey) -> MemberPublicKey
fn from(pk: PublicKey) -> MemberPublicKey
Converts to this type from the input type.
source§impl PartialEq<MemberPublicKey> for MemberPublicKey
impl PartialEq<MemberPublicKey> for MemberPublicKey
source§fn eq(&self, other: &MemberPublicKey) -> bool
fn eq(&self, other: &MemberPublicKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MemberPublicKey
impl StructuralEq for MemberPublicKey
impl StructuralPartialEq for MemberPublicKey
Auto Trait Implementations§
impl RefUnwindSafe for MemberPublicKey
impl Send for MemberPublicKey
impl Sync for MemberPublicKey
impl Unpin for MemberPublicKey
impl UnwindSafe for MemberPublicKey
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more