#[repr(u8)]pub enum ActionTypeEnum {
Other = 0,
Scene = 1,
Sequence = 2,
Automation = 3,
Exception = 4,
Notification = 5,
Alarm = 6,
}Expand description
ActionTypeEnum.
Variants§
Other = 0
Use this only when none of the other values applies
Scene = 1
Bring the endpoints into a certain state
Sequence = 2
A sequence of states with a certain time pattern
Automation = 3
Control an automation (e.g. motion sensor controlling lights)
Exception = 4
Sequence that will run when something doesn’t happen
Notification = 5
Use the endpoints to send a message to user
Alarm = 6
Higher priority notification
Implementations§
Trait Implementations§
Source§impl Clone for ActionTypeEnum
impl Clone for ActionTypeEnum
impl Copy for ActionTypeEnum
Source§impl Debug for ActionTypeEnum
impl Debug for ActionTypeEnum
impl Eq for ActionTypeEnum
Source§impl<'a> FromTlv<'a> for ActionTypeEnum
impl<'a> FromTlv<'a> for ActionTypeEnum
Source§impl Hash for ActionTypeEnum
impl Hash for ActionTypeEnum
Source§impl Ord for ActionTypeEnum
impl Ord for ActionTypeEnum
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ActionTypeEnum
impl PartialEq for ActionTypeEnum
Source§impl PartialOrd for ActionTypeEnum
impl PartialOrd for ActionTypeEnum
impl StructuralPartialEq for ActionTypeEnum
Auto Trait Implementations§
impl Forget for ActionTypeEnum
impl Freeze for ActionTypeEnum
impl Move for ActionTypeEnum
impl RefUnwindSafe for ActionTypeEnum
impl Send for ActionTypeEnum
impl Sync for ActionTypeEnum
impl Unpin for ActionTypeEnum
impl UnsafeUnpin for ActionTypeEnum
impl UnwindSafe for ActionTypeEnum
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