pub struct PassiveReading {
pub device_id: String,
pub device_name: Option<String>,
pub rssi: Option<i16>,
pub data: AdvertisementData,
pub received_at: Instant,
}Expand description
A reading from passive advertisement monitoring.
Fields§
§device_id: StringDevice identifier (MAC address or UUID).
device_name: Option<String>Device name if available.
rssi: Option<i16>RSSI signal strength.
data: AdvertisementDataParsed advertisement data.
received_at: InstantWhen this reading was received.
Trait Implementations§
Source§impl Clone for PassiveReading
impl Clone for PassiveReading
Source§fn clone(&self) -> PassiveReading
fn clone(&self) -> PassiveReading
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 PassiveReading
impl RefUnwindSafe for PassiveReading
impl Send for PassiveReading
impl Sync for PassiveReading
impl Unpin for PassiveReading
impl UnwindSafe for PassiveReading
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