pub enum ControlMode {
Automatic,
Override,
Manual,
Disabled,
UnsupportedValue,
}Variants§
Automatic
Automatically adjust control to meet the set point.
Override
User override of the automatic set point value.
Manual
No automatic adjustments are made to the control.
Disabled
The control has been disabled.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for ControlMode
impl Clone for ControlMode
Source§fn clone(&self) -> ControlMode
fn clone(&self) -> ControlMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ControlMode
Source§impl Debug for ControlMode
impl Debug for ControlMode
Source§impl<'de> Deserialize<'de> for ControlMode
impl<'de> Deserialize<'de> for ControlMode
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
impl Eq for ControlMode
Source§impl PartialEq for ControlMode
impl PartialEq for ControlMode
Source§impl Serialize for ControlMode
impl Serialize for ControlMode
impl StructuralPartialEq for ControlMode
Source§impl ToSnakeCase for ControlMode
impl ToSnakeCase for ControlMode
Source§fn to_snake_case(&self) -> &'static str
fn to_snake_case(&self) -> &'static str
Convert this enum variant to a
snake_case stringAuto Trait Implementations§
impl Freeze for ControlMode
impl RefUnwindSafe for ControlMode
impl Send for ControlMode
impl Sync for ControlMode
impl Unpin for ControlMode
impl UnsafeUnpin for ControlMode
impl UnwindSafe for ControlMode
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