pub enum DeviceType {
Gateway,
Tank,
RgbLights,
Hvac,
Dimmer,
Generator,
Switch,
}
Expand description
The type of device this “thing” represents.
Variants§
Gateway
This is the root gateway. Not supported.
Tank
A tank that holds things.
RgbLights
RGB Lights. Not supported.
Hvac
HVAC aka A/C
Dimmer
Dimmer lights.
Generator
Generators
Switch
Switches that can only be on or off.
Trait Implementations§
Source§impl Debug for DeviceType
impl Debug for DeviceType
Source§impl PartialEq for DeviceType
impl PartialEq for DeviceType
impl Eq for DeviceType
impl StructuralPartialEq for DeviceType
Auto Trait Implementations§
impl Freeze for DeviceType
impl RefUnwindSafe for DeviceType
impl Send for DeviceType
impl Sync for DeviceType
impl Unpin for DeviceType
impl UnwindSafe for DeviceType
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.