pub struct ConsensusLeaderId(BftLeaderId);
Tuple Fields§
§0: BftLeaderId
Trait Implementations§
source§impl Clone for ConsensusLeaderId
impl Clone for ConsensusLeaderId
source§fn clone(&self) -> ConsensusLeaderId
fn clone(&self) -> ConsensusLeaderId
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 ConsensusLeaderId
impl Debug for ConsensusLeaderId
source§impl<'de> Deserialize<'de> for ConsensusLeaderId
impl<'de> Deserialize<'de> for ConsensusLeaderId
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<BftLeaderId> for ConsensusLeaderId
impl From<BftLeaderId> for ConsensusLeaderId
source§impl From<ConsensusLeaderId> for BftLeaderId
impl From<ConsensusLeaderId> for BftLeaderId
source§fn from(leader_id: ConsensusLeaderId) -> Self
fn from(leader_id: ConsensusLeaderId) -> Self
Converts to this type from the input type.
source§impl From<ConsensusLeaderId> for ConfigParam
impl From<ConsensusLeaderId> for ConfigParam
source§fn from(consensus_leader_id: ConsensusLeaderId) -> Self
fn from(consensus_leader_id: ConsensusLeaderId) -> Self
Converts to this type from the input type.
source§impl From<Identifier<Ed25519>> for ConsensusLeaderId
impl From<Identifier<Ed25519>> for ConsensusLeaderId
source§fn from(identifier: Identifier<Ed25519>) -> Self
fn from(identifier: Identifier<Ed25519>) -> Self
Converts to this type from the input type.
source§impl From<PublicKey<Ed25519>> for ConsensusLeaderId
impl From<PublicKey<Ed25519>> for ConsensusLeaderId
source§impl Hash for ConsensusLeaderId
impl Hash for ConsensusLeaderId
source§impl PartialEq<ConsensusLeaderId> for ConsensusLeaderId
impl PartialEq<ConsensusLeaderId> for ConsensusLeaderId
source§fn eq(&self, other: &ConsensusLeaderId) -> bool
fn eq(&self, other: &ConsensusLeaderId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ConsensusLeaderId
impl Serialize for ConsensusLeaderId
impl Eq for ConsensusLeaderId
impl StructuralEq for ConsensusLeaderId
impl StructuralPartialEq for ConsensusLeaderId
Auto Trait Implementations§
impl RefUnwindSafe for ConsensusLeaderId
impl Send for ConsensusLeaderId
impl Sync for ConsensusLeaderId
impl Unpin for ConsensusLeaderId
impl UnwindSafe for ConsensusLeaderId
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