#[repr(u8)]pub enum ZoneUse {
Motion = 0,
Privacy = 1,
Focus = 2,
}Variants§
Motion = 0
Indicates Zone is intended to detect Motion
Privacy = 1
Indicates Zone is intended to protect privacy
Focus = 2
Indicates Zone provides a focus area
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ZoneUse
impl<'de> Deserialize<'de> for ZoneUse
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
impl Copy for ZoneUse
impl Eq for ZoneUse
impl StructuralPartialEq for ZoneUse
Auto Trait Implementations§
impl Freeze for ZoneUse
impl RefUnwindSafe for ZoneUse
impl Send for ZoneUse
impl Sync for ZoneUse
impl Unpin for ZoneUse
impl UnwindSafe for ZoneUse
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