pub enum BinarySensorClass {
Show 15 variants
Generic,
Battery,
BatteryCharging,
Connectivity,
Door,
GarageDoor,
Motion,
Occupancy,
Opening,
Plug,
Power,
Presence,
Problem,
Smoke,
Window,
}Variants§
Generic
Battery
BatteryCharging
Connectivity
Door
GarageDoor
Motion
Occupancy
Opening
Plug
Power
Presence
Problem
Smoke
Window
Trait Implementations§
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 · 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 BinarySensorClass
impl Debug for BinarySensorClass
Source§impl Default for BinarySensorClass
impl Default for BinarySensorClass
Source§fn default() -> BinarySensorClass
fn default() -> BinarySensorClass
Returns the “default value” for a type. Read more
Source§impl PartialEq for BinarySensorClass
impl PartialEq for BinarySensorClass
impl Copy for BinarySensorClass
impl Eq 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 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