Struct below_model::cgroup::CgroupIoModel
source · pub struct CgroupIoModel {
pub rbytes_per_sec: Option<f64>,
pub wbytes_per_sec: Option<f64>,
pub rios_per_sec: Option<f64>,
pub wios_per_sec: Option<f64>,
pub dbytes_per_sec: Option<f64>,
pub dios_per_sec: Option<f64>,
pub rwbytes_per_sec: Option<f64>,
pub cost_usage_pct: Option<f64>,
pub cost_wait_pct: Option<f64>,
pub cost_indebt_pct: Option<f64>,
pub cost_indelay_pct: Option<f64>,
}
Fields§
§rbytes_per_sec: Option<f64>
§wbytes_per_sec: Option<f64>
§rios_per_sec: Option<f64>
§wios_per_sec: Option<f64>
§dbytes_per_sec: Option<f64>
§dios_per_sec: Option<f64>
§rwbytes_per_sec: Option<f64>
§cost_usage_pct: Option<f64>
§cost_wait_pct: Option<f64>
§cost_indebt_pct: Option<f64>
§cost_indelay_pct: Option<f64>
Implementations§
source§impl CgroupIoModel
impl CgroupIoModel
pub fn new(begin: &IoStat, end: &IoStat, delta: Duration) -> CgroupIoModel
pub fn empty() -> CgroupIoModel
Trait Implementations§
source§impl Add<&CgroupIoModel> for CgroupIoModel
impl Add<&CgroupIoModel> for CgroupIoModel
source§impl Clone for CgroupIoModel
impl Clone for CgroupIoModel
source§fn clone(&self) -> CgroupIoModel
fn clone(&self) -> CgroupIoModel
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 CgroupIoModel
impl Debug for CgroupIoModel
source§impl Default for CgroupIoModel
impl Default for CgroupIoModel
source§fn default() -> CgroupIoModel
fn default() -> CgroupIoModel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CgroupIoModel
impl<'de> Deserialize<'de> for CgroupIoModel
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 CgroupIoModel
impl PartialEq for CgroupIoModel
source§fn eq(&self, other: &CgroupIoModel) -> bool
fn eq(&self, other: &CgroupIoModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Queriable for CgroupIoModel
impl Queriable for CgroupIoModel
source§impl Serialize for CgroupIoModel
impl Serialize for CgroupIoModel
impl StructuralPartialEq for CgroupIoModel
Auto Trait Implementations§
impl Freeze for CgroupIoModel
impl RefUnwindSafe for CgroupIoModel
impl Send for CgroupIoModel
impl Sync for CgroupIoModel
impl Unpin for CgroupIoModel
impl UnwindSafe for CgroupIoModel
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