Struct NodeStatistics
pub struct NodeStatistics {
pub total_nodes: usize,
pub healthy_nodes: usize,
pub warning_nodes: usize,
pub unhealthy_nodes: usize,
}Expand description
Node statistics
Fields§
§total_nodes: usizeTotal node count
healthy_nodes: usizeHealthy node count
warning_nodes: usizeWarning node count
unhealthy_nodes: usizeUnhealthy node count
Trait Implementations§
§impl Clone for NodeStatistics
impl Clone for NodeStatistics
§fn clone(&self) -> NodeStatistics
fn clone(&self) -> NodeStatistics
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 more§impl Debug for NodeStatistics
impl Debug for NodeStatistics
§impl Default for NodeStatistics
impl Default for NodeStatistics
§fn default() -> NodeStatistics
fn default() -> NodeStatistics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NodeStatistics
impl RefUnwindSafe for NodeStatistics
impl Send for NodeStatistics
impl Sync for NodeStatistics
impl Unpin for NodeStatistics
impl UnwindSafe for NodeStatistics
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