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