Struct machine_info::SystemStatus
source · [−]Expand description
System global utilization
Fields
memory: i32
Total memory used
cpu: i32
Total CPU used as percentage
Trait Implementations
sourceimpl Debug for SystemStatus
impl Debug for SystemStatus
sourceimpl<'de> Deserialize<'de> for SystemStatus
impl<'de> Deserialize<'de> for SystemStatus
sourcefn 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
sourceimpl Serialize for SystemStatus
impl Serialize for SystemStatus
Auto Trait Implementations
impl RefUnwindSafe for SystemStatus
impl Send for SystemStatus
impl Sync for SystemStatus
impl Unpin for SystemStatus
impl UnwindSafe for SystemStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more