#[repr(u8)]pub enum ThermostatRunningMode {
Off = 0,
Cool = 3,
Heat = 4,
}Variants§
Off = 0
The Thermostat does not generate demand for Cooling or Heating
Cool = 3
Demand is only generated for Cooling
Heat = 4
Demand is only generated for Heating
Implementations§
Trait Implementations§
Source§impl Clone for ThermostatRunningMode
impl Clone for ThermostatRunningMode
Source§fn clone(&self) -> ThermostatRunningMode
fn clone(&self) -> ThermostatRunningMode
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 ThermostatRunningMode
impl Debug for ThermostatRunningMode
Source§impl<'de> Deserialize<'de> for ThermostatRunningMode
impl<'de> Deserialize<'de> for ThermostatRunningMode
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 From<ThermostatRunningMode> for u8
impl From<ThermostatRunningMode> for u8
Source§fn from(val: ThermostatRunningMode) -> Self
fn from(val: ThermostatRunningMode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ThermostatRunningMode
impl PartialEq for ThermostatRunningMode
Source§impl Serialize for ThermostatRunningMode
impl Serialize for ThermostatRunningMode
impl Copy for ThermostatRunningMode
impl Eq for ThermostatRunningMode
impl StructuralPartialEq for ThermostatRunningMode
Auto Trait Implementations§
impl Freeze for ThermostatRunningMode
impl RefUnwindSafe for ThermostatRunningMode
impl Send for ThermostatRunningMode
impl Sync for ThermostatRunningMode
impl Unpin for ThermostatRunningMode
impl UnwindSafe for ThermostatRunningMode
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