pub struct DriveMetrics {Show 16 fields
pub odata_context: Option<Context>,
pub odata_etag: Option<Etag>,
pub odata_id: Id,
pub odata_type: Type,
pub actions: Option<Actions>,
pub bad_block_count: Option<i64>,
pub correctable_io_read_error_count: Option<i64>,
pub correctable_io_write_error_count: Option<i64>,
pub description: Option<Description>,
pub id: Id,
pub nvme_smart: Option<NVMeSMARTMetrics>,
pub name: Name,
pub oem: Option<Oem>,
pub power_on_hours: Option<f64>,
pub uncorrectable_io_read_error_count: Option<i64>,
pub uncorrectable_io_write_error_count: Option<i64>,
}
Expand description
The usage and health statistics for a drive.
Fields§
§odata_context: Option<Context>
§odata_etag: Option<Etag>
§odata_id: Id
§odata_type: Type
§actions: Option<Actions>
§bad_block_count: Option<i64>
The total number of bad blocks reported by the drive.
correctable_io_read_error_count: Option<i64>
The number of the correctable read errors for the lifetime of the drive.
correctable_io_write_error_count: Option<i64>
The number of the correctable write errors for the lifetime of the drive.
description: Option<Description>
§id: Id
§nvme_smart: Option<NVMeSMARTMetrics>
§name: Name
§oem: Option<Oem>
§power_on_hours: Option<f64>
The number of power-on hours for the lifetime of the drive.
uncorrectable_io_read_error_count: Option<i64>
The number of the uncorrectable read errors for the lifetime of the drive.
uncorrectable_io_write_error_count: Option<i64>
The number of the uncorrectable write errors for the lifetime of the drive.
Trait Implementations§
Source§impl Clone for DriveMetrics
impl Clone for DriveMetrics
Source§fn clone(&self) -> DriveMetrics
fn clone(&self) -> DriveMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DriveMetrics
impl Debug for DriveMetrics
Source§impl Default for DriveMetrics
impl Default for DriveMetrics
Source§impl<'de> Deserialize<'de> for DriveMetrics
impl<'de> Deserialize<'de> for DriveMetrics
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 Metadata<'static> for DriveMetrics
impl Metadata<'static> for DriveMetrics
Source§const JSON_SCHEMA: &'static str = "DriveMetrics.v1_0_0.json"
const JSON_SCHEMA: &'static str = "DriveMetrics.v1_0_0.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for DriveMetrics
impl RefUnwindSafe for DriveMetrics
impl Send for DriveMetrics
impl Sync for DriveMetrics
impl Unpin for DriveMetrics
impl UnwindSafe for DriveMetrics
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