pub enum BeaconChangeEvent {
Inserted(GeographicBeacon),
Updated(GeographicBeacon),
Removed {
node_id: String,
},
}Expand description
Beacon change event
Represents a change to a beacon in the storage system.
Variants§
Inserted(GeographicBeacon)
A new beacon was inserted
Updated(GeographicBeacon)
An existing beacon was updated
Removed
A beacon was removed (expired or explicitly deleted)
Trait Implementations§
Source§impl Clone for BeaconChangeEvent
impl Clone for BeaconChangeEvent
Source§fn clone(&self) -> BeaconChangeEvent
fn clone(&self) -> BeaconChangeEvent
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 moreAuto Trait Implementations§
impl Freeze for BeaconChangeEvent
impl RefUnwindSafe for BeaconChangeEvent
impl Send for BeaconChangeEvent
impl Sync for BeaconChangeEvent
impl Unpin for BeaconChangeEvent
impl UnsafeUnpin for BeaconChangeEvent
impl UnwindSafe for BeaconChangeEvent
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