pub struct HistoricalListsByBssid<T: Timestamped>(/* private fields */);
Expand description
Struct for map from BSSID to HistoricalList
Implementations§
source§impl<T> HistoricalListsByBssid<T>where
T: Timestamped + Clone,
impl<T> HistoricalListsByBssid<T>where
T: Timestamped + Clone,
pub fn new() -> Self
pub fn add(&mut self, bssid: Bssid, data: T)
sourcepub fn get_recent_for_network(&self, earliest_time: Time) -> Vec<T>
pub fn get_recent_for_network(&self, earliest_time: Time) -> Vec<T>
Retrieve list of Data entries to any BSS with a time more recent than earliest_time, sorted from oldest to newest. May be empty.
sourcepub fn get_list_for_bss(&self, bssid: &Bssid) -> HistoricalList<T>
pub fn get_list_for_bss(&self, bssid: &Bssid) -> HistoricalList<T>
Retrieve List for a particular BSS, in order to retrieve BSS specific Data entries.
Trait Implementations§
source§impl<T: Clone + Timestamped> Clone for HistoricalListsByBssid<T>
impl<T: Clone + Timestamped> Clone for HistoricalListsByBssid<T>
source§fn clone(&self) -> HistoricalListsByBssid<T>
fn clone(&self) -> HistoricalListsByBssid<T>
Returns a copy 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<T: Debug + Timestamped> Debug for HistoricalListsByBssid<T>
impl<T: Debug + Timestamped> Debug for HistoricalListsByBssid<T>
source§impl<T: PartialEq + Timestamped> PartialEq for HistoricalListsByBssid<T>
impl<T: PartialEq + Timestamped> PartialEq for HistoricalListsByBssid<T>
source§fn eq(&self, other: &HistoricalListsByBssid<T>) -> bool
fn eq(&self, other: &HistoricalListsByBssid<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T: Timestamped> StructuralPartialEq for HistoricalListsByBssid<T>
Auto Trait Implementations§
impl<T> Freeze for HistoricalListsByBssid<T>
impl<T> RefUnwindSafe for HistoricalListsByBssid<T>where
T: RefUnwindSafe,
impl<T> Send for HistoricalListsByBssid<T>where
T: Send,
impl<T> Sync for HistoricalListsByBssid<T>where
T: Sync,
impl<T> Unpin for HistoricalListsByBssid<T>where
T: Unpin,
impl<T> UnwindSafe for HistoricalListsByBssid<T>where
T: UnwindSafe,
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