pub struct CpuStat {
pub user_usec: Option<u64>,
pub nice_usec: Option<u64>,
pub system_usec: Option<u64>,
pub idle_usec: Option<u64>,
pub iowait_usec: Option<u64>,
pub irq_usec: Option<u64>,
pub softirq_usec: Option<u64>,
pub stolen_usec: Option<u64>,
pub guest_usec: Option<u64>,
pub guest_nice_usec: Option<u64>,
}
Fields§
§user_usec: Option<u64>
§nice_usec: Option<u64>
§system_usec: Option<u64>
§idle_usec: Option<u64>
§iowait_usec: Option<u64>
§irq_usec: Option<u64>
§softirq_usec: Option<u64>
§stolen_usec: Option<u64>
§guest_usec: Option<u64>
§guest_nice_usec: Option<u64>
Trait Implementations§
source§impl<'de> Deserialize<'de> for CpuStat
impl<'de> Deserialize<'de> for CpuStat
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
source§impl PartialEq<CpuStat> for CpuStat
impl PartialEq<CpuStat> for CpuStat
impl StructuralPartialEq for CpuStat
Auto Trait Implementations§
impl RefUnwindSafe for CpuStat
impl Send for CpuStat
impl Sync for CpuStat
impl Unpin for CpuStat
impl UnwindSafe for CpuStat
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