pub struct ConsensusStats {
pub total_vertices: usize,
pub finalized_vertices: usize,
pub pending_transactions: usize,
pub tips: usize,
}Expand description
Consensus statistics
Fields§
§total_vertices: usize§finalized_vertices: usize§pending_transactions: usize§tips: usizeTrait Implementations§
Source§impl Clone for ConsensusStats
impl Clone for ConsensusStats
Source§fn clone(&self) -> ConsensusStats
fn clone(&self) -> ConsensusStats
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 moreSource§impl Debug for ConsensusStats
impl Debug for ConsensusStats
Source§impl<'de> Deserialize<'de> for ConsensusStats
impl<'de> Deserialize<'de> for ConsensusStats
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 ConsensusStats
impl RefUnwindSafe for ConsensusStats
impl Send for ConsensusStats
impl Sync for ConsensusStats
impl Unpin for ConsensusStats
impl UnwindSafe for ConsensusStats
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