pub struct ConsensusParam {
    pub snapshot_epoch_count: u32,
    pub era_epoch_count: u64,
}Expand description
Consensus parameter is only configurable in test mode.
Fields§
§snapshot_epoch_count: u32§era_epoch_count: u64Trait Implementations§
Source§impl Clone for ConsensusParam
 
impl Clone for ConsensusParam
Source§fn clone(&self) -> ConsensusParam
 
fn clone(&self) -> ConsensusParam
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 Freeze for ConsensusParam
impl RefUnwindSafe for ConsensusParam
impl Send for ConsensusParam
impl Sync for ConsensusParam
impl Unpin for ConsensusParam
impl UnwindSafe for ConsensusParam
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