pub struct LedgerStats {
pub network: NetworkType,
pub current_height: u64,
pub connected: bool,
pub miners_cached: usize,
pub pending_txs: usize,
pub quantum_safe: bool,
}Expand description
Ledger statistics
Fields§
§network: NetworkType§current_height: u64§connected: bool§miners_cached: usize§pending_txs: usize§quantum_safe: boolTrait Implementations§
Source§impl Clone for LedgerStats
impl Clone for LedgerStats
Source§fn clone(&self) -> LedgerStats
fn clone(&self) -> LedgerStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LedgerStats
impl Debug for LedgerStats
Source§impl<'de> Deserialize<'de> for LedgerStats
impl<'de> Deserialize<'de> for LedgerStats
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 LedgerStats
impl RefUnwindSafe for LedgerStats
impl Send for LedgerStats
impl Sync for LedgerStats
impl Unpin for LedgerStats
impl UnsafeUnpin for LedgerStats
impl UnwindSafe for LedgerStats
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