pub struct SysStats {
pub load_1: Option<String>,
pub load_5: Option<String>,
pub load_15: Option<String>,
pub mem_total: Option<i64>,
pub mem_used: Option<i64>,
pub cpu: Option<String>,
}Expand description
System statistics nested inside LegacyDevice.
Fields§
§load_1: Option<String>§load_5: Option<String>§load_15: Option<String>§mem_total: Option<i64>§mem_used: Option<i64>§cpu: Option<String>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
Auto Trait Implementations§
impl Freeze for SysStats
impl RefUnwindSafe for SysStats
impl Send for SysStats
impl Sync for SysStats
impl Unpin for SysStats
impl UnsafeUnpin 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