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
sourceimpl CgroupCpuModel
impl CgroupCpuModel
Trait Implementations
sourceimpl Clone for CgroupCpuModel
impl Clone for CgroupCpuModel
sourcefn clone(&self) -> CgroupCpuModel
fn clone(&self) -> CgroupCpuModel
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 CgroupCpuModel
impl Debug for CgroupCpuModel
sourceimpl Default for CgroupCpuModel
impl Default for CgroupCpuModel
sourcefn default() -> CgroupCpuModel
fn default() -> CgroupCpuModel
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CgroupCpuModel
impl<'de> Deserialize<'de> for CgroupCpuModel
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<CgroupCpuModel> for CgroupCpuModel
impl PartialEq<CgroupCpuModel> for CgroupCpuModel
sourcefn eq(&self, other: &CgroupCpuModel) -> bool
fn eq(&self, other: &CgroupCpuModel) -> bool
sourceimpl Queriable for CgroupCpuModel
impl Queriable for CgroupCpuModel
sourceimpl Serialize for CgroupCpuModel
impl Serialize for CgroupCpuModel
impl StructuralPartialEq for CgroupCpuModel
Auto Trait Implementations
impl RefUnwindSafe for CgroupCpuModel
impl Send for CgroupCpuModel
impl Sync for CgroupCpuModel
impl Unpin for CgroupCpuModel
impl UnwindSafe for CgroupCpuModel
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