Enum redfish_codegen::models::resource::IndicatorLED
source · pub enum IndicatorLED {
Lit,
Blinking,
Off,
}
Variants§
Lit
This value shall represent that the indicator LED is in a solid on 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.
Blinking
This value shall represent that 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
This value shall represent that 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.
Trait Implementations§
source§impl Clone for IndicatorLED
impl Clone for IndicatorLED
source§fn clone(&self) -> IndicatorLED
fn clone(&self) -> IndicatorLED
Returns a copy 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 IndicatorLED
impl Debug for IndicatorLED
source§impl Default for IndicatorLED
impl Default for IndicatorLED
source§fn default() -> IndicatorLED
fn default() -> IndicatorLED
Returns the “default value” for a type. Read more
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>,
Deserialize this value from the given Serde deserializer. Read more