// Generated by redfish-codegen. Do not modify.
/// The health data of a memory device.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
#[derive(derivative::Derivative)]
#[derivative(Default)]
pub struct HealthData {
/// The current health of the memory device as a percentage.
#[serde(rename = "PredictedMediaLifeLeftPercent")]
#[serde(default, skip_serializing_if = "Option::is_none")]
pub predicted_media_life_left_percent: Option<f64>,
}
impl crate::Metadata<'static> for HealthData {
const JSON_SCHEMA: &'static str = "Memory.v1_17_1.json";
}