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§
Trait Implementations§
source§impl Clone for SingleCpuModel
impl Clone for SingleCpuModel
source§fn clone(&self) -> SingleCpuModel
fn clone(&self) -> SingleCpuModel
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SingleCpuModel
impl Debug for SingleCpuModel
source§impl Default for SingleCpuModel
impl Default for SingleCpuModel
source§fn default() -> SingleCpuModel
fn default() -> SingleCpuModel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SingleCpuModel
impl<'de> Deserialize<'de> for SingleCpuModel
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<SingleCpuModel> for SingleCpuModel
impl PartialEq<SingleCpuModel> for SingleCpuModel
source§fn eq(&self, other: &SingleCpuModel) -> bool
fn eq(&self, other: &SingleCpuModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Queriable for SingleCpuModel
impl Queriable for SingleCpuModel
source§impl 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§
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