pub enum ConditionType {
Alert,
Informational,
Subsystem,
UnsupportedValue,
}Variants§
Alert
The condition is an alert.
This value shall indicate a condition that requires correction, such as a fault.
Informational
The condition is informational.
This value shall indicate a condition that requires attention, maintenance, or some other user intervention, such as performing a reset to activate new firmware.
Subsystem
The condition is the health of a subsystem.
This value shall indicate a condition that contains the health of a subsystem. If supported by the service, the service shall always provide this condition in responses.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for ConditionType
impl Clone for ConditionType
Source§fn clone(&self) -> ConditionType
fn clone(&self) -> ConditionType
Returns a duplicate 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 ConditionType
impl Debug for ConditionType
Source§impl<'de> Deserialize<'de> for ConditionType
impl<'de> Deserialize<'de> for ConditionType
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 ConditionType
impl PartialEq for ConditionType
Source§impl Serialize for ConditionType
impl Serialize for ConditionType
Source§impl ToSnakeCase for ConditionType
impl ToSnakeCase for ConditionType
Source§fn to_snake_case(&self) -> &'static str
fn to_snake_case(&self) -> &'static str
Convert this enum variant to a
snake_case stringimpl Copy for ConditionType
impl Eq for ConditionType
impl StructuralPartialEq for ConditionType
Auto Trait Implementations§
impl Freeze for ConditionType
impl RefUnwindSafe for ConditionType
impl Send for ConditionType
impl Sync for ConditionType
impl Unpin for ConditionType
impl UnsafeUnpin for ConditionType
impl UnwindSafe for ConditionType
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