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