#[repr(u8)]pub enum StartUpOnOff {
Off = 0,
On = 1,
Toggle = 2,
}Variants§
Off = 0
Set the OnOff attribute to FALSE
On = 1
Set the OnOff attribute to TRUE
Toggle = 2
If the previous value of the OnOff attribute is equal to FALSE, set the OnOff attribute to TRUE. If the previous value of the OnOff attribute is equal to TRUE, set the OnOff attribute to FALSE (toggle).
Implementations§
Trait Implementations§
Source§impl Clone for StartUpOnOff
impl Clone for StartUpOnOff
Source§fn clone(&self) -> StartUpOnOff
fn clone(&self) -> StartUpOnOff
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 StartUpOnOff
impl Debug for StartUpOnOff
Source§impl<'de> Deserialize<'de> for StartUpOnOff
impl<'de> Deserialize<'de> for StartUpOnOff
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<StartUpOnOff> for u8
impl From<StartUpOnOff> for u8
Source§fn from(val: StartUpOnOff) -> Self
fn from(val: StartUpOnOff) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StartUpOnOff
impl PartialEq for StartUpOnOff
Source§impl Serialize for StartUpOnOff
impl Serialize for StartUpOnOff
impl Copy for StartUpOnOff
impl Eq for StartUpOnOff
impl StructuralPartialEq for StartUpOnOff
Auto Trait Implementations§
impl Freeze for StartUpOnOff
impl RefUnwindSafe for StartUpOnOff
impl Send for StartUpOnOff
impl Sync for StartUpOnOff
impl Unpin for StartUpOnOff
impl UnwindSafe for StartUpOnOff
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