pub struct NetworkStats {
pub total_organisms: usize,
pub active_organisms: usize,
pub total_synapses: usize,
pub average_fitness: f64,
pub network_health: f64,
}
Expand description
Network statistics
Fieldsยง
ยงtotal_organisms: usize
ยงactive_organisms: usize
ยงtotal_synapses: usize
ยงaverage_fitness: f64
ยงnetwork_health: 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 moreAuto 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