#[repr(u8)]pub enum ScheduleProgrammingVisibility {
Scheduleprogrammingpermitted = 0,
Scheduleprogrammingdenied = 1,
}Variants§
Scheduleprogrammingpermitted = 0
Local schedule programming functionality is enabled at the thermostat
Scheduleprogrammingdenied = 1
Local schedule programming functionality is disabled at the thermostat
Implementations§
Trait Implementations§
Source§impl Clone for ScheduleProgrammingVisibility
impl Clone for ScheduleProgrammingVisibility
Source§fn clone(&self) -> ScheduleProgrammingVisibility
fn clone(&self) -> ScheduleProgrammingVisibility
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<'de> Deserialize<'de> for ScheduleProgrammingVisibility
impl<'de> Deserialize<'de> for ScheduleProgrammingVisibility
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<ScheduleProgrammingVisibility> for u8
impl From<ScheduleProgrammingVisibility> for u8
Source§fn from(val: ScheduleProgrammingVisibility) -> Self
fn from(val: ScheduleProgrammingVisibility) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ScheduleProgrammingVisibility
impl PartialEq for ScheduleProgrammingVisibility
Source§fn eq(&self, other: &ScheduleProgrammingVisibility) -> bool
fn eq(&self, other: &ScheduleProgrammingVisibility) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ScheduleProgrammingVisibility
impl Eq for ScheduleProgrammingVisibility
impl StructuralPartialEq for ScheduleProgrammingVisibility
Auto Trait Implementations§
impl Freeze for ScheduleProgrammingVisibility
impl RefUnwindSafe for ScheduleProgrammingVisibility
impl Send for ScheduleProgrammingVisibility
impl Sync for ScheduleProgrammingVisibility
impl Unpin for ScheduleProgrammingVisibility
impl UnwindSafe for ScheduleProgrammingVisibility
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