Struct below_model::system::SingleCpuModel [−][src]
pub struct SingleCpuModel {
pub idx: i32,
pub usage_pct: Option<f64>,
pub user_pct: Option<f64>,
pub system_pct: Option<f64>,
pub idle_pct: Option<f64>,
pub nice_pct: Option<f64>,
pub iowait_pct: Option<f64>,
pub irq_pct: Option<f64>,
pub softirq_pct: Option<f64>,
pub stolen_pct: Option<f64>,
pub guest_pct: Option<f64>,
pub guest_nice_pct: Option<f64>,
}
Fields
idx: i32
usage_pct: Option<f64>
user_pct: Option<f64>
system_pct: Option<f64>
idle_pct: Option<f64>
nice_pct: Option<f64>
iowait_pct: Option<f64>
irq_pct: Option<f64>
softirq_pct: Option<f64>
stolen_pct: Option<f64>
guest_pct: Option<f64>
guest_nice_pct: Option<f64>
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SingleCpuModel
impl Send for SingleCpuModel
impl Sync for SingleCpuModel
impl Unpin for SingleCpuModel
impl UnwindSafe for SingleCpuModel
Blanket Implementations
Mutably borrows from an owned value. Read more