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,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)