Struct below_model::cgroup::CgroupCpuModel
source · pub struct CgroupCpuModel {
pub usage_pct: Option<f64>,
pub user_pct: Option<f64>,
pub system_pct: Option<f64>,
pub nr_periods_per_sec: Option<f64>,
pub nr_throttled_per_sec: Option<f64>,
pub throttled_pct: Option<f64>,
}
Fields§
§usage_pct: Option<f64>
§user_pct: Option<f64>
§system_pct: Option<f64>
§nr_periods_per_sec: Option<f64>
§nr_throttled_per_sec: Option<f64>
§throttled_pct: Option<f64>
Implementations§
Trait Implementations§
source§impl Clone for CgroupCpuModel
impl Clone for CgroupCpuModel
source§fn clone(&self) -> CgroupCpuModel
fn clone(&self) -> CgroupCpuModel
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 CgroupCpuModel
impl Debug for CgroupCpuModel
source§impl Default for CgroupCpuModel
impl Default for CgroupCpuModel
source§fn default() -> CgroupCpuModel
fn default() -> CgroupCpuModel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CgroupCpuModel
impl<'de> Deserialize<'de> for CgroupCpuModel
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 for CgroupCpuModel
impl PartialEq for CgroupCpuModel
source§fn eq(&self, other: &CgroupCpuModel) -> bool
fn eq(&self, other: &CgroupCpuModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Queriable for CgroupCpuModel
impl Queriable for CgroupCpuModel
source§impl Serialize for CgroupCpuModel
impl Serialize for CgroupCpuModel
impl StructuralPartialEq for CgroupCpuModel
Auto Trait Implementations§
impl Freeze for CgroupCpuModel
impl RefUnwindSafe for CgroupCpuModel
impl Send for CgroupCpuModel
impl Sync for CgroupCpuModel
impl Unpin for CgroupCpuModel
impl UnwindSafe for CgroupCpuModel
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