pub struct DaemonStatus {
pub sync_status: SyncStatus,
pub blockchain_length: Option<i64>,
pub highest_block_length_received: Option<i64>,
pub uptime_secs: Option<i64>,
pub state_hash: Option<String>,
pub commit_id: Option<String>,
pub peers: Option<Vec<PeerInfo>>,
}Expand description
Comprehensive daemon status.
Fields§
§sync_status: SyncStatus§blockchain_length: Option<i64>§highest_block_length_received: Option<i64>§uptime_secs: Option<i64>§state_hash: Option<String>§commit_id: Option<String>§peers: Option<Vec<PeerInfo>>Trait Implementations§
Source§impl Clone for DaemonStatus
impl Clone for DaemonStatus
Source§fn clone(&self) -> DaemonStatus
fn clone(&self) -> DaemonStatus
Returns a duplicate 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 DaemonStatus
impl RefUnwindSafe for DaemonStatus
impl Send for DaemonStatus
impl Sync for DaemonStatus
impl Unpin for DaemonStatus
impl UnsafeUnpin for DaemonStatus
impl UnwindSafe for DaemonStatus
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