pub struct SystemStats {
pub cpu_utilization_rate: Option<f64>,
pub cpu_stolen_rate: Option<f64>,
pub swap_total: Option<u64>,
pub swap_used: Option<u64>,
pub mem_total: Option<u64>,
pub mem_free: Option<u64>,
pub mem_limit: Option<u64>,
pub cpu_cores_available: Option<u32>,
pub allocstall: Option<u64>,
}Fields§
§cpu_utilization_rate: Option<f64>§cpu_stolen_rate: Option<f64>§swap_total: Option<u64>§swap_used: Option<u64>§mem_total: Option<u64>§mem_free: Option<u64>§mem_limit: Option<u64>§cpu_cores_available: Option<u32>§allocstall: Option<u64>Trait Implementations§
Source§impl Debug for SystemStats
impl Debug for SystemStats
Source§impl<'de> Deserialize<'de> for SystemStats
impl<'de> Deserialize<'de> for SystemStats
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 SystemStats
impl RefUnwindSafe for SystemStats
impl Send for SystemStats
impl Sync for SystemStats
impl Unpin for SystemStats
impl UnsafeUnpin for SystemStats
impl UnwindSafe for SystemStats
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