pub enum IndicatorLed {
Unknown,
Lit,
Blinking,
Off,
UnsupportedValue,
}Variants§
Unknown
The state of the indicator LED cannot be determined.
This value shall represent the indicator LED is in an unknown state. The service shall reject
PATCH or PUT requests containing this value by returning the HTTP 400 Bad Request status
code.
Lit
The indicator LED is lit.
This value shall represent the indicator LED is in a solid on state. If the service does not
support this value, it shall return the HTTP 400 Bad Request status code to reject PATCH or
PUT requests that contain this value.
Blinking
The indicator LED is blinking.
This value shall represent the indicator LED is in a blinking state where the LED is being turned
on and off in repetition. If the service does not support this value, it shall reject PATCH or
PUT requests containing this value by returning the HTTP 400 Bad Request status code.
Off
The indicator LED is off.
This value shall represent the indicator LED is in a solid off state. If the service does not
support this value, it shall reject PATCH or PUT requests containing this value by returning
the HTTP 400 Bad Request status code.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for IndicatorLed
impl Clone for IndicatorLed
Source§fn clone(&self) -> IndicatorLed
fn clone(&self) -> IndicatorLed
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IndicatorLed
impl Debug for IndicatorLed
Source§impl<'de> Deserialize<'de> for IndicatorLed
impl<'de> Deserialize<'de> for IndicatorLed
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>,
Source§impl PartialEq for IndicatorLed
impl PartialEq for IndicatorLed
Source§fn eq(&self, other: &IndicatorLed) -> bool
fn eq(&self, other: &IndicatorLed) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for IndicatorLed
impl Serialize for IndicatorLed
Source§impl ToSnakeCase for IndicatorLed
impl ToSnakeCase for IndicatorLed
Source§fn to_snake_case(&self) -> &'static str
fn to_snake_case(&self) -> &'static str
snake_case string