pub enum AlarmProximity {
None,
Enter,
Leave,
}Expand description
Proximity trigger for a location-based alarm.
Variants§
None
No proximity trigger.
Enter
Trigger when entering the location.
Leave
Trigger when leaving the location.
Trait Implementations§
Source§impl Clone for AlarmProximity
impl Clone for AlarmProximity
Source§fn clone(&self) -> AlarmProximity
fn clone(&self) -> AlarmProximity
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 AlarmProximity
impl Debug for AlarmProximity
Source§impl PartialEq for AlarmProximity
impl PartialEq for AlarmProximity
impl Copy for AlarmProximity
impl Eq for AlarmProximity
impl StructuralPartialEq for AlarmProximity
Auto Trait Implementations§
impl Freeze for AlarmProximity
impl RefUnwindSafe for AlarmProximity
impl Send for AlarmProximity
impl Sync for AlarmProximity
impl Unpin for AlarmProximity
impl UnsafeUnpin for AlarmProximity
impl UnwindSafe for AlarmProximity
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