pub struct Consensus {
pub slot_id: EpochSlotId,
pub leader_key: Bytes,
pub chain_difficulty: ChainDifficulty,
pub block_signature: BlockSignature,
}
Fields§
§slot_id: EpochSlotId
§leader_key: Bytes
§chain_difficulty: ChainDifficulty
§block_signature: BlockSignature
Trait Implementations§
impl Eq for Consensus
impl StructuralPartialEq for Consensus
Auto Trait Implementations§
impl Freeze for Consensus
impl RefUnwindSafe for Consensus
impl Send for Consensus
impl Sync for Consensus
impl Unpin for Consensus
impl UnwindSafe for Consensus
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