Type Alias chain_impl_mockchain::certificate::update_proposal::UpdateProposerId
source · pub type UpdateProposerId = BftLeaderId;
Aliased Type§
struct UpdateProposerId(pub(crate) PublicKey<Ed25519>);
Fields§
§0: PublicKey<Ed25519>
Implementations§
source§impl BftLeaderId
impl BftLeaderId
pub fn as_public_key(&self) -> &PublicKey<BftVerificationAlg>
Trait Implementations§
source§impl Arbitrary for BftLeaderId
impl Arbitrary for BftLeaderId
source§impl Arbitrary for BftLeaderId
impl Arbitrary for BftLeaderId
§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.§type Strategy = BoxedStrategy<BftLeaderId>
type Strategy = BoxedStrategy<BftLeaderId>
The type of
Strategy
used to generate values of type Self
.source§fn arbitrary_with(args: <Self as Arbitrary>::Parameters) -> Self::Strategy
fn arbitrary_with(args: <Self as Arbitrary>::Parameters) -> Self::Strategy
source§impl AsRef<[u8]> for BftLeaderId
impl AsRef<[u8]> for BftLeaderId
source§impl Clone for BftLeaderId
impl Clone for BftLeaderId
source§fn clone(&self) -> BftLeaderId
fn clone(&self) -> BftLeaderId
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 ConfigParamVariant for BftLeaderId
impl ConfigParamVariant for BftLeaderId
source§impl Debug for BftLeaderId
impl Debug for BftLeaderId
source§impl DeserializeFromSlice for BftLeaderId
impl DeserializeFromSlice for BftLeaderId
fn deserialize_from_slice(codec: &mut Codec<&[u8]>) -> Result<Self, ReadError>
fn deserialize_validate_from_slice( codec: &mut Codec<&[u8]> ) -> Result<(), ReadError>
source§impl From<PublicKey<Ed25519>> for BftLeaderId
impl From<PublicKey<Ed25519>> for BftLeaderId
source§fn from(v: PublicKey<BftVerificationAlg>) -> Self
fn from(v: PublicKey<BftVerificationAlg>) -> Self
Converts to this type from the input type.
source§impl Hash for BftLeaderId
impl Hash for BftLeaderId
source§impl PartialEq<BftLeaderId> for BftLeaderId
impl PartialEq<BftLeaderId> for BftLeaderId
source§fn eq(&self, other: &BftLeaderId) -> bool
fn eq(&self, other: &BftLeaderId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.