pub struct HealthData {
pub predicted_media_life_left_percent: Option<Option<Decimal>>,
}Expand description
The health data of a memory device.
This type shall contain the health data of a memory device.
Fields§
§predicted_media_life_left_percent: Option<Option<Decimal>>The current health of the memory device as a percentage.
This property shall contain the current health of the memory device as a percentage, 0 to 100.
Trait Implementations§
Source§impl Debug for HealthData
impl Debug for HealthData
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
Auto Trait Implementations§
impl Freeze for HealthData
impl RefUnwindSafe for HealthData
impl Send for HealthData
impl Sync for HealthData
impl Unpin for HealthData
impl UnsafeUnpin for HealthData
impl UnwindSafe for HealthData
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