pub struct BlockchainState {
pub difficulty: u16,
pub genesis_challenge_initialized: bool,
pub mempool_size: u8,
pub peak: BlockchainStatePeak,
pub space: f64,
pub sub_slot_iters: u32,
pub sync: BlockchainStateSync,
}Fields§
§difficulty: u16§genesis_challenge_initialized: bool§mempool_size: u8§peak: BlockchainStatePeak§space: f64§sub_slot_iters: u32§sync: BlockchainStateSyncTrait Implementations§
Source§impl Debug for BlockchainState
impl Debug for BlockchainState
Source§impl<'de> Deserialize<'de> for BlockchainState
impl<'de> Deserialize<'de> for BlockchainState
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
Auto Trait Implementations§
impl Freeze for BlockchainState
impl RefUnwindSafe for BlockchainState
impl Send for BlockchainState
impl Sync for BlockchainState
impl Unpin for BlockchainState
impl UnwindSafe for BlockchainState
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