Struct fuchsia_bluetooth::types::le::AdvertisingData
source · 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
source§fn eq(&self, other: &AdvertisingData) -> bool
fn eq(&self, other: &AdvertisingData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<AdvertisingDataDeprecated> for AdvertisingData
impl TryFrom<AdvertisingDataDeprecated> for AdvertisingData
source§fn try_from(
src: AdvertisingDataDeprecated
) -> Result<AdvertisingData, Self::Error>
fn try_from( src: AdvertisingDataDeprecated ) -> Result<AdvertisingData, Self::Error>
Performs the conversion.
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