pub enum SwitchClass {
Outlet,
Switch,
}Variants§
Trait Implementations§
Source§impl AsRef<str> for SwitchClass
impl AsRef<str> for SwitchClass
Source§impl Clone for SwitchClass
impl Clone for SwitchClass
Source§fn clone(&self) -> SwitchClass
fn clone(&self) -> SwitchClass
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 SwitchClass
Source§impl Debug for SwitchClass
impl Debug for SwitchClass
Source§impl<'de> Deserialize<'de> for SwitchClass
impl<'de> Deserialize<'de> for SwitchClass
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 SwitchClass
Source§impl PartialEq for SwitchClass
impl PartialEq for SwitchClass
Source§fn eq(&self, other: &SwitchClass) -> bool
fn eq(&self, other: &SwitchClass) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SwitchClass
impl Serialize for SwitchClass
impl StructuralPartialEq for SwitchClass
Auto Trait Implementations§
impl Freeze for SwitchClass
impl RefUnwindSafe for SwitchClass
impl Send for SwitchClass
impl Sync for SwitchClass
impl Unpin for SwitchClass
impl UnsafeUnpin for SwitchClass
impl UnwindSafe for SwitchClass
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