pub struct VolumeHealthCondition {
pub message: Option<String>,
pub reason: String,
pub status: String,
}Expand description
VolumeHealthCondition represents an adverse health condition reported for a volume.
Fields§
§message: Option<String>message is a human-readable description. Maximum permitted length of a message is 1024 bytes.
reason: Stringreason is a brief CamelCase machine-parseable reason. Together with status it forms the unique identity of a condition entry. Maximum permitted length of a reason is 256 bytes.
status: Stringstatus is the machine-parseable health category. Possible values: - “Inaccessible”: the volume cannot be accessed. - “DataLoss”: data loss has been detected on the volume. - “Degraded”: the volume is functioning with reduced capability.
Trait Implementations§
Source§impl Clone for VolumeHealthCondition
impl Clone for VolumeHealthCondition
Source§impl Debug for VolumeHealthCondition
impl Debug for VolumeHealthCondition
Source§impl DeepMerge for VolumeHealthCondition
impl DeepMerge for VolumeHealthCondition
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other into self.Source§impl Default for VolumeHealthCondition
impl Default for VolumeHealthCondition
Source§impl<'de> Deserialize<'de> for VolumeHealthCondition
impl<'de> Deserialize<'de> for VolumeHealthCondition
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 PartialEq for VolumeHealthCondition
impl PartialEq for VolumeHealthCondition
Source§impl Serialize for VolumeHealthCondition
impl Serialize for VolumeHealthCondition
impl StructuralPartialEq for VolumeHealthCondition
Auto Trait Implementations§
impl Freeze for VolumeHealthCondition
impl RefUnwindSafe for VolumeHealthCondition
impl Send for VolumeHealthCondition
impl Sync for VolumeHealthCondition
impl Unpin for VolumeHealthCondition
impl UnsafeUnpin for VolumeHealthCondition
impl UnwindSafe for VolumeHealthCondition
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