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