Enum houseflow_types::DeviceTrait [−][src]
#[repr(u16)] #[non_exhaustive] pub enum DeviceTrait { OnOff, OpenClose, }
Expand description
Traits defines what functionality device supports
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations
Trait Implementations
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
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
Auto Trait Implementations
impl RefUnwindSafe for DeviceTrait
impl Send for DeviceTrait
impl Sync for DeviceTrait
impl Unpin for DeviceTrait
impl UnwindSafe for DeviceTrait
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V