Struct NVMeSMARTMetrics

Source
pub struct NVMeSMARTMetrics {
Show 23 fields pub available_spare_percent: Option<f64>, pub available_spare_threshold_percent: Option<f64>, pub composite_temperature_celsius: Option<f64>, pub controller_busy_time_minutes: Option<i64>, pub critical_composite_temp_time_minutes: Option<i64>, pub critical_warnings: Option<NVMeSMARTCriticalWarnings>, pub data_units_read: Option<i64>, pub data_units_written: Option<i64>, pub eg_critical_warning_summary: Option<EGCriticalWarningSummary>, pub host_read_commands: Option<i64>, pub host_write_commands: Option<i64>, pub media_and_data_integrity_errors: Option<i64>, pub number_of_error_information_log_entries: Option<i64>, pub percentage_used: Option<f64>, pub power_cycles: Option<i64>, pub power_on_hours: Option<f64>, pub temperature_sensors_celsius: Option<Vec<f64>>, pub thermal_mgmt_temp_1t_time_seconds: Option<i64>, pub thermal_mgmt_temp_1t_count: Option<i64>, pub thermal_mgmt_temp_2t_time_seconds: Option<i64>, pub thermal_mgmt_temp_2t_count: Option<i64>, pub unsafe_shutdowns: Option<i64>, pub warning_composite_temp_time_minutes: Option<i64>,
}
Expand description

The NVMe SMART metrics.

Fields§

§available_spare_percent: Option<f64>

The normalized percentage of the remaining spare capacity available.

§available_spare_threshold_percent: Option<f64>

The available spare threshold as a normalized percentage.

§composite_temperature_celsius: Option<f64>

The composite temperature in degrees Celsius for this storage controller.

§controller_busy_time_minutes: Option<i64>

The total time the controller is busy with I/O commands in minutes.

§critical_composite_temp_time_minutes: Option<i64>

The amount of time in minutes that the controller is operational and the composite temperature is greater than or equal to the critical composite temperature threshold.

§critical_warnings: Option<NVMeSMARTCriticalWarnings>§data_units_read: Option<i64>

The number of 512 byte data units the host has read from the controller as part of processing a SMART Data Units Read Command in units of one thousand.

§data_units_written: Option<i64>

The number of 512 byte data units the host has written to the controller as part of processing a User Data Out Command in units of one thousand.

§eg_critical_warning_summary: Option<EGCriticalWarningSummary>§host_read_commands: Option<i64>

The number of SMART Host Read Commands completed by the controller.

§host_write_commands: Option<i64>

The number of User Data Out Commands completed by the controller.

§media_and_data_integrity_errors: Option<i64>

The number of occurrences where the controller detected an unrecovered data integrity error.

§number_of_error_information_log_entries: Option<i64>

The number of error information log entries over the life of the controller.

§percentage_used: Option<f64>

The percentage of the NVM subsystem life used.

§power_cycles: Option<i64>

The number of power cycles.

§power_on_hours: Option<f64>

The number of power-on hours.

§temperature_sensors_celsius: Option<Vec<f64>>

The temperature sensor readings in degrees Celsius for this storage controller.

§thermal_mgmt_temp_1t_time_seconds: Option<i64>

The number of seconds the controller transitioned to lower power states or performed vendor-specific thermal management actions while minimizing the impact on performance in order to attempt to reduce the composite temperature.

§thermal_mgmt_temp_1t_count: Option<i64>

The number of times the controller transitioned to lower power states or performed vendor-specific thermal management actions while minimizing the impact on performance in order to attempt to reduce the composite temperature.

§thermal_mgmt_temp_2t_time_seconds: Option<i64>

The number of seconds the controller transitioned to lower power states or performed vendor-specific thermal management actions regardless of the impact on performance in order to attempt to reduce the composite temperature.

§thermal_mgmt_temp_2t_count: Option<i64>

The number of times the controller transitioned to lower power states or performed vendor-specific thermal management actions regardless of the impact on performance in order to attempt to reduce the composite temperature.

§unsafe_shutdowns: Option<i64>

The number of unsafe shutdowns.

§warning_composite_temp_time_minutes: Option<i64>

The amount of time in minutes that the controller is operational and the composite temperature is greater than or equal to the warning composite temperature threshold.

Trait Implementations§

Source§

impl Clone for NVMeSMARTMetrics

Source§

fn clone(&self) -> NVMeSMARTMetrics

Returns a duplicate of the value. Read more
1.0.0 · Source§

const fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for NVMeSMARTMetrics

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for NVMeSMARTMetrics

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for NVMeSMARTMetrics

Source§

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 NVMeSMARTMetrics

Source§

const JSON_SCHEMA: &'static str = "StorageControllerMetrics.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.
Source§

impl Serialize for NVMeSMARTMetrics

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,