pub struct PeriodicAdvertisingReport {
pub rssi: i8,
pub data: Vec<u8>,
pub event_counter: Option<u16>,
pub subevent: Option<u8>,
pub timestamp: i64,
}
Fields§
§rssi: i8
§data: Vec<u8>
§event_counter: Option<u16>
The event counter of the event that the advertising packet was received in.
subevent: Option<u8>
The subevent number of the report. Only present if the packet was received in a subevent.
timestamp: i64
Trait Implementations§
Source§impl Clone for PeriodicAdvertisingReport
impl Clone for PeriodicAdvertisingReport
Source§fn clone(&self) -> PeriodicAdvertisingReport
fn clone(&self) -> PeriodicAdvertisingReport
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 PeriodicAdvertisingReport
impl RefUnwindSafe for PeriodicAdvertisingReport
impl Send for PeriodicAdvertisingReport
impl Sync for PeriodicAdvertisingReport
impl Unpin for PeriodicAdvertisingReport
impl UnwindSafe for PeriodicAdvertisingReport
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