Struct jormungandr_lib::interfaces::NodeStats
source · pub struct NodeStats {Show 21 fields
pub block_recv_cnt: u64,
pub last_block_content_size: u32,
pub last_block_date: Option<String>,
pub last_block_fees: u64,
pub last_block_hash: Option<String>,
pub last_block_height: Option<String>,
pub last_block_sum: u64,
pub last_block_time: Option<SystemTime>,
pub last_block_tx: u64,
pub last_received_block_time: Option<SystemTime>,
pub block_content_size_avg: f64,
pub peer_available_cnt: usize,
pub peer_connected_cnt: usize,
pub peer_quarantined_cnt: usize,
pub peer_total_cnt: usize,
pub tx_recv_cnt: u64,
pub mempool_usage_ratio: f64,
pub mempool_tx_count: u64,
pub tx_rejected_cnt: u64,
pub votes_cast: u64,
pub uptime: Option<u64>,
}
Fields§
§block_recv_cnt: u64
§last_block_content_size: u32
§last_block_date: Option<String>
§last_block_fees: u64
§last_block_hash: Option<String>
§last_block_height: Option<String>
§last_block_sum: u64
§last_block_time: Option<SystemTime>
§last_block_tx: u64
§last_received_block_time: Option<SystemTime>
§block_content_size_avg: f64
§peer_available_cnt: usize
§peer_connected_cnt: usize
§peer_quarantined_cnt: usize
§peer_total_cnt: usize
§tx_recv_cnt: u64
§mempool_usage_ratio: f64
§mempool_tx_count: u64
§tx_rejected_cnt: u64
§votes_cast: u64
§uptime: Option<u64>
Trait Implementations§
source§impl<'de> Deserialize<'de> for NodeStats
impl<'de> Deserialize<'de> for NodeStats
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
source§impl PartialEq<NodeStats> for NodeStats
impl PartialEq<NodeStats> for NodeStats
impl StructuralPartialEq for NodeStats
Auto Trait Implementations§
impl RefUnwindSafe for NodeStats
impl Send for NodeStats
impl Sync for NodeStats
impl Unpin for NodeStats
impl UnwindSafe for NodeStats
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