#[repr(u8)]pub enum LEDSetting {
Noledsignal = 0,
Noledsignalaccessallowed = 1,
Ledsignalall = 2,
}Variants§
Noledsignal = 0
Never use LED for signalization
Noledsignalaccessallowed = 1
Use LED signalization except for access allowed events
Ledsignalall = 2
Use LED signalization for all events
Implementations§
Trait Implementations§
Source§impl Clone for LEDSetting
impl Clone for LEDSetting
Source§fn clone(&self) -> LEDSetting
fn clone(&self) -> LEDSetting
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 LEDSetting
impl Debug for LEDSetting
Source§impl<'de> Deserialize<'de> for LEDSetting
impl<'de> Deserialize<'de> for LEDSetting
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<LEDSetting> for u8
impl From<LEDSetting> for u8
Source§fn from(val: LEDSetting) -> Self
fn from(val: LEDSetting) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LEDSetting
impl PartialEq for LEDSetting
Source§impl Serialize for LEDSetting
impl Serialize for LEDSetting
impl Copy for LEDSetting
impl Eq for LEDSetting
impl StructuralPartialEq for LEDSetting
Auto Trait Implementations§
impl Freeze for LEDSetting
impl RefUnwindSafe for LEDSetting
impl Send for LEDSetting
impl Sync for LEDSetting
impl Unpin for LEDSetting
impl UnwindSafe for LEDSetting
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