pub struct AgentNetworkStats {
pub total_agents: usize,
pub total_nodes: usize,
pub total_cross_edges: usize,
pub density: f32,
}Expand description
Aggregate statistics for the cross-agent network
Fields§
§total_agents: usize§total_nodes: usize§total_cross_edges: usize§density: f32Trait Implementations§
Source§impl Clone for AgentNetworkStats
impl Clone for AgentNetworkStats
Source§fn clone(&self) -> AgentNetworkStats
fn clone(&self) -> AgentNetworkStats
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 AgentNetworkStats
impl Debug for AgentNetworkStats
Source§impl<'de> Deserialize<'de> for AgentNetworkStats
impl<'de> Deserialize<'de> for AgentNetworkStats
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 AgentNetworkStats
impl RefUnwindSafe for AgentNetworkStats
impl Send for AgentNetworkStats
impl Sync for AgentNetworkStats
impl Unpin for AgentNetworkStats
impl UnsafeUnpin for AgentNetworkStats
impl UnwindSafe for AgentNetworkStats
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