pub struct AdvertisingData {
pub name: Option<String>,
pub tx_power_level: Option<i8>,
pub appearance: Option<Appearance>,
pub service_uuids: Vec<Uuid>,
pub service_data: Vec<ServiceData>,
pub manufacturer_data: Vec<ManufacturerData>,
pub uris: Vec<String>,
}
Fields§
§name: Option<String>
§tx_power_level: Option<i8>
§appearance: Option<Appearance>
§service_uuids: Vec<Uuid>
§service_data: Vec<ServiceData>
§manufacturer_data: Vec<ManufacturerData>
§uris: Vec<String>
Trait Implementations§
Source§impl Clone for AdvertisingData
impl Clone for AdvertisingData
Source§fn clone(&self) -> AdvertisingData
fn clone(&self) -> AdvertisingData
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 Debug for AdvertisingData
impl Debug for AdvertisingData
Source§impl From<AdvertisingData> for AdvertisingData
impl From<AdvertisingData> for AdvertisingData
Source§fn from(src: AdvertisingData) -> AdvertisingData
fn from(src: AdvertisingData) -> AdvertisingData
Converts to this type from the input type.
Source§impl PartialEq for AdvertisingData
impl PartialEq for AdvertisingData
impl StructuralPartialEq for AdvertisingData
Auto Trait Implementations§
impl Freeze for AdvertisingData
impl RefUnwindSafe for AdvertisingData
impl Send for AdvertisingData
impl Sync for AdvertisingData
impl Unpin for AdvertisingData
impl UnwindSafe for AdvertisingData
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,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
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