Struct below_model::system::SingleDiskModel
source · pub struct SingleDiskModel {Show 22 fields
pub name: Option<String>,
pub disk_usage: Option<f32>,
pub partition_size: Option<u64>,
pub filesystem_type: Option<String>,
pub read_bytes_per_sec: Option<f64>,
pub write_bytes_per_sec: Option<f64>,
pub discard_bytes_per_sec: Option<f64>,
pub disk_total_bytes_per_sec: Option<f64>,
pub read_completed: Option<u64>,
pub read_merged: Option<u64>,
pub read_sectors: Option<u64>,
pub time_spend_read_ms: Option<u64>,
pub write_completed: Option<u64>,
pub write_merged: Option<u64>,
pub write_sectors: Option<u64>,
pub time_spend_write_ms: Option<u64>,
pub discard_completed: Option<u64>,
pub discard_merged: Option<u64>,
pub discard_sectors: Option<u64>,
pub time_spend_discard_ms: Option<u64>,
pub major: Option<u64>,
pub minor: Option<u64>,
}
Fields§
§name: Option<String>
§disk_usage: Option<f32>
§partition_size: Option<u64>
§filesystem_type: Option<String>
§read_bytes_per_sec: Option<f64>
§write_bytes_per_sec: Option<f64>
§discard_bytes_per_sec: Option<f64>
§disk_total_bytes_per_sec: Option<f64>
§read_completed: Option<u64>
§read_merged: Option<u64>
§read_sectors: Option<u64>
§time_spend_read_ms: Option<u64>
§write_completed: Option<u64>
§write_merged: Option<u64>
§write_sectors: Option<u64>
§time_spend_write_ms: Option<u64>
§discard_completed: Option<u64>
§discard_merged: Option<u64>
§discard_sectors: Option<u64>
§time_spend_discard_ms: Option<u64>
§major: Option<u64>
§minor: Option<u64>
Trait Implementations§
source§impl Clone for SingleDiskModel
impl Clone for SingleDiskModel
source§fn clone(&self) -> SingleDiskModel
fn clone(&self) -> SingleDiskModel
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 SingleDiskModel
impl Debug for SingleDiskModel
source§impl Default for SingleDiskModel
impl Default for SingleDiskModel
source§fn default() -> SingleDiskModel
fn default() -> SingleDiskModel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SingleDiskModel
impl<'de> Deserialize<'de> for SingleDiskModel
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 Nameable for SingleDiskModel
impl Nameable for SingleDiskModel
source§impl PartialEq for SingleDiskModel
impl PartialEq for SingleDiskModel
source§fn eq(&self, other: &SingleDiskModel) -> bool
fn eq(&self, other: &SingleDiskModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Queriable for SingleDiskModel
impl Queriable for SingleDiskModel
source§impl Serialize for SingleDiskModel
impl Serialize for SingleDiskModel
impl StructuralPartialEq for SingleDiskModel
Auto Trait Implementations§
impl Freeze for SingleDiskModel
impl RefUnwindSafe for SingleDiskModel
impl Send for SingleDiskModel
impl Sync for SingleDiskModel
impl Unpin for SingleDiskModel
impl UnwindSafe for SingleDiskModel
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