Struct below_model::system::SingleCpuModel
source · [−]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
sourceimpl SingleCpuModel
impl SingleCpuModel
Trait Implementations
sourceimpl Clone for SingleCpuModel
impl Clone for SingleCpuModel
sourcefn clone(&self) -> SingleCpuModel
fn clone(&self) -> SingleCpuModel
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SingleCpuModel
impl Debug for SingleCpuModel
sourceimpl Default for SingleCpuModel
impl Default for SingleCpuModel
sourcefn default() -> SingleCpuModel
fn default() -> SingleCpuModel
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SingleCpuModel
impl<'de> Deserialize<'de> for SingleCpuModel
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 PartialEq<SingleCpuModel> for SingleCpuModel
impl PartialEq<SingleCpuModel> for SingleCpuModel
sourcefn eq(&self, other: &SingleCpuModel) -> bool
fn eq(&self, other: &SingleCpuModel) -> bool
sourceimpl Queriable for SingleCpuModel
impl Queriable for SingleCpuModel
sourceimpl Serialize for SingleCpuModel
impl Serialize for SingleCpuModel
impl StructuralPartialEq for SingleCpuModel
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
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