pub struct DiskStat {Show 18 fields
pub major: Option<u64>,
pub minor: Option<u64>,
pub name: Option<String>,
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 disk_usage: Option<f32>,
pub partition_size: Option<u64>,
pub filesystem_type: Option<String>,
}
Fields§
§major: Option<u64>
§minor: Option<u64>
§name: Option<String>
§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>
§disk_usage: Option<f32>
§partition_size: Option<u64>
§filesystem_type: Option<String>
Trait Implementations§
source§impl<'de> Deserialize<'de> for DiskStat
impl<'de> Deserialize<'de> for DiskStat
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<DiskStat> for DiskStat
impl PartialEq<DiskStat> for DiskStat
impl StructuralPartialEq for DiskStat
Auto Trait Implementations§
impl RefUnwindSafe for DiskStat
impl Send for DiskStat
impl Sync for DiskStat
impl Unpin for DiskStat
impl UnwindSafe for DiskStat
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