Struct redfish_codegen::models::memory_metrics::v1_6_0::HealthData
source · pub struct HealthData {
pub alarm_trips: Option<AlarmTrips>,
pub data_loss_detected: Option<bool>,
pub last_shutdown_success: Option<bool>,
pub performance_degraded: Option<bool>,
pub predicted_media_life_left_percent: Option<f64>,
pub remaining_spare_block_percentage: Option<f64>,
}
Expand description
The health information of the memory.
Fields§
§alarm_trips: Option<AlarmTrips>
§data_loss_detected: Option<bool>
An indication of whether data loss was detected.
last_shutdown_success: Option<bool>
An indication of whether the last shutdown succeeded.
performance_degraded: Option<bool>
An indication of whether performance has degraded.
predicted_media_life_left_percent: Option<f64>
The percentage of reads and writes that are predicted to still be available for the media.
remaining_spare_block_percentage: Option<f64>
The remaining spare blocks, as a percentage.
Trait Implementations§
source§impl Clone for HealthData
impl Clone for HealthData
source§fn clone(&self) -> HealthData
fn clone(&self) -> HealthData
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 HealthData
impl Debug for HealthData
source§impl Default for HealthData
impl Default for HealthData
source§fn default() -> HealthData
fn default() -> HealthData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HealthData
impl<'de> Deserialize<'de> for HealthData
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