pub struct LeDirectedAdvertisingResponse {
pub event_type: DirectAdvertisingEventType,
pub address_type: DirectAdvertisingAddressType,
pub address: Address,
pub direct_address_type: DirectAddressType,
pub direct_address: Address,
pub rssi: u8,
}Fields§
§event_type: DirectAdvertisingEventType§address_type: DirectAdvertisingAddressType§address: Address§direct_address_type: DirectAddressType§direct_address: Address§rssi: u8Implementations§
Trait Implementations§
Source§impl Clone for LeDirectedAdvertisingResponse
impl Clone for LeDirectedAdvertisingResponse
Source§fn clone(&self) -> LeDirectedAdvertisingResponse
fn clone(&self) -> LeDirectedAdvertisingResponse
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 PartialEq for LeDirectedAdvertisingResponse
impl PartialEq for LeDirectedAdvertisingResponse
Source§fn eq(&self, other: &LeDirectedAdvertisingResponse) -> bool
fn eq(&self, other: &LeDirectedAdvertisingResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LeDirectedAdvertisingResponse
impl StructuralPartialEq for LeDirectedAdvertisingResponse
Auto Trait Implementations§
impl Freeze for LeDirectedAdvertisingResponse
impl RefUnwindSafe for LeDirectedAdvertisingResponse
impl Send for LeDirectedAdvertisingResponse
impl Sync for LeDirectedAdvertisingResponse
impl Unpin for LeDirectedAdvertisingResponse
impl UnwindSafe for LeDirectedAdvertisingResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more