Type Alias chain_vote::tally::OpeningVoteKey
source · pub type OpeningVoteKey = MemberSecretKey;
Expand description
Secret key for opening vote
Aliased Type§
struct OpeningVoteKey(pub(crate) SecretKey);
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 more