[−][src]Struct btleplug::api::PeripheralProperties
The properties of this peripheral, as determined by the advertising reports we've received for it.
Fields
address: BDAddr
The address of this peripheral
address_type: AddressType
The type of address (either random or public)
local_name: Option<String>
The local name. This is generally a human-readable string that identifies the type of device.
tx_power_level: Option<i8>
The transmission power level for the device
manufacturer_data: Option<Vec<u8>>
Unstructured data set by the device manufacturer
discovery_count: u32
Number of times we've seen advertising reports for this device
has_scan_response: bool
True if we've discovered the device before
Trait Implementations
impl Clone for PeripheralProperties
[src]
fn clone(&self) -> PeripheralProperties
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PeripheralProperties
[src]
impl Default for PeripheralProperties
[src]
fn default() -> PeripheralProperties
[src]
Auto Trait Implementations
impl RefUnwindSafe for PeripheralProperties
impl Send for PeripheralProperties
impl Sync for PeripheralProperties
impl Unpin for PeripheralProperties
impl UnwindSafe for PeripheralProperties
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,