pub struct SysStats {
pub loadavg_1: Option<String>,
pub loadavg_15: Option<String>,
pub loadavg_5: Option<String>,
pub mem_buffer: Option<i64>,
pub mem_total: Option<i64>,
pub mem_used: Option<i64>,
}
Fields§
§loadavg_1: Option<String>
§loadavg_15: Option<String>
§loadavg_5: Option<String>
§mem_buffer: Option<i64>
§mem_total: Option<i64>
§mem_used: Option<i64>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SysStats
impl<'de> Deserialize<'de> for SysStats
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
impl StructuralPartialEq for SysStats
Auto Trait Implementations§
impl Freeze for SysStats
impl RefUnwindSafe for SysStats
impl Send for SysStats
impl Sync for SysStats
impl Unpin for SysStats
impl UnwindSafe for SysStats
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