Struct dharithri_sdk::data::network_status::NetworkStatus
source · pub struct NetworkStatus {
pub current_round: u64,
pub epoch_number: u64,
pub nonce: u64,
pub nonce_at_epoch_start: u64,
pub nonces_passed_in_current_epoch: u64,
pub round_at_epoch_start: u64,
pub rounds_passed_in_current_epoch: u64,
pub rounds_per_epoch: u32,
}
Fields§
§current_round: u64
§epoch_number: u64
§nonce: u64
§nonce_at_epoch_start: u64
§nonces_passed_in_current_epoch: u64
§round_at_epoch_start: u64
§rounds_passed_in_current_epoch: u64
§rounds_per_epoch: u32
Trait Implementations§
source§impl Clone for NetworkStatus
impl Clone for NetworkStatus
source§fn clone(&self) -> NetworkStatus
fn clone(&self) -> NetworkStatus
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 NetworkStatus
impl Debug for NetworkStatus
source§impl<'de> Deserialize<'de> for NetworkStatus
impl<'de> Deserialize<'de> for NetworkStatus
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 RefUnwindSafe for NetworkStatus
impl Send for NetworkStatus
impl Sync for NetworkStatus
impl Unpin for NetworkStatus
impl UnwindSafe for NetworkStatus
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