#[repr(u8)]pub enum ZoneEventStoppedReason {
Actionstopped = 0,
Timeout = 1,
}Variants§
Actionstopped = 0
Indicates that whatever triggered the Zone event has stopped being detected.
Timeout = 1
Indicates that the max duration for detecting triggering activity has been reached.
Implementations§
Trait Implementations§
Source§impl Clone for ZoneEventStoppedReason
impl Clone for ZoneEventStoppedReason
Source§fn clone(&self) -> ZoneEventStoppedReason
fn clone(&self) -> ZoneEventStoppedReason
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 ZoneEventStoppedReason
impl Debug for ZoneEventStoppedReason
Source§impl<'de> Deserialize<'de> for ZoneEventStoppedReason
impl<'de> Deserialize<'de> for ZoneEventStoppedReason
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
Source§impl From<ZoneEventStoppedReason> for u8
impl From<ZoneEventStoppedReason> for u8
Source§fn from(val: ZoneEventStoppedReason) -> Self
fn from(val: ZoneEventStoppedReason) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ZoneEventStoppedReason
impl PartialEq for ZoneEventStoppedReason
Source§impl Serialize for ZoneEventStoppedReason
impl Serialize for ZoneEventStoppedReason
impl Copy for ZoneEventStoppedReason
impl Eq for ZoneEventStoppedReason
impl StructuralPartialEq for ZoneEventStoppedReason
Auto Trait Implementations§
impl Freeze for ZoneEventStoppedReason
impl RefUnwindSafe for ZoneEventStoppedReason
impl Send for ZoneEventStoppedReason
impl Sync for ZoneEventStoppedReason
impl Unpin for ZoneEventStoppedReason
impl UnwindSafe for ZoneEventStoppedReason
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