pub struct SystemVitals {
pub memory_usage_percent: f64,
pub storage_usage_percent: f64,
pub cpu_usage_percent: f64,
pub network_usage_bytes_per_second: f64,
pub queue_depths: HashMap<String, usize>,
pub active_connections: usize,
}Expand description
System vitals
Fields§
§memory_usage_percent: f64Memory usage
storage_usage_percent: f64Storage usage
cpu_usage_percent: f64CPU usage
network_usage_bytes_per_second: f64Network usage
queue_depths: HashMap<String, usize>Queue depths
active_connections: usizeConnection counts
Trait Implementations§
Source§impl Clone for SystemVitals
impl Clone for SystemVitals
Source§fn clone(&self) -> SystemVitals
fn clone(&self) -> SystemVitals
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 SystemVitals
impl Debug for SystemVitals
Source§impl<'de> Deserialize<'de> for SystemVitals
impl<'de> Deserialize<'de> for SystemVitals
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 SystemVitals
impl RefUnwindSafe for SystemVitals
impl Send for SystemVitals
impl Sync for SystemVitals
impl Unpin for SystemVitals
impl UnwindSafe for SystemVitals
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