pub struct NetworkStats {
pub total_organisms: usize,
pub online_organisms: usize,
pub total_nodes: usize,
pub total_connections: usize,
pub network_health: f64,
pub average_connection_quality: f64,
}
Expand description
Network statistics
Fieldsยง
ยงtotal_organisms: usize
ยงonline_organisms: usize
ยงtotal_nodes: usize
ยงtotal_connections: usize
ยงnetwork_health: f64
ยงaverage_connection_quality: f64
Trait Implementationsยง
Sourceยงimpl Clone for NetworkStats
impl Clone for NetworkStats
Sourceยงfn clone(&self) -> NetworkStats
fn clone(&self) -> NetworkStats
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 NetworkStats
impl Debug for NetworkStats
Sourceยงimpl<'de> Deserialize<'de> for NetworkStats
impl<'de> Deserialize<'de> for NetworkStats
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 NetworkStats
impl RefUnwindSafe for NetworkStats
impl Send for NetworkStats
impl Sync for NetworkStats
impl Unpin for NetworkStats
impl UnwindSafe for NetworkStats
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