Struct chain_vote::committee::MemberSecretKey
source · pub struct MemberSecretKey(pub(crate) SecretKey);
Expand description
Committee member election secret key
Tuple Fields§
§0: SecretKey
Implementations§
Trait Implementations§
source§impl Bech32 for MemberSecretKey
impl Bech32 for MemberSecretKey
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 MemberSecretKey
impl Clone for MemberSecretKey
source§fn clone(&self) -> MemberSecretKey
fn clone(&self) -> MemberSecretKey
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 moreAuto Trait Implementations§
impl RefUnwindSafe for MemberSecretKey
impl Send for MemberSecretKey
impl Sync for MemberSecretKey
impl Unpin for MemberSecretKey
impl UnwindSafe for MemberSecretKey
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