Struct rumble::api::PeripheralProperties [] [src]

pub struct PeripheralProperties {
    pub address: BDAddr,
    pub address_type: AddressType,
    pub local_name: Option<String>,
    pub tx_power_level: Option<i8>,
    pub manufacturer_data: Option<Vec<u8>>,
    pub discovery_count: u32,
    pub has_scan_response: bool,
}

The properties of this peripheral, as determined by the advertising reports we've received for it.

Fields

The address of this peripheral

The type of address (either random or public)

The local name. This is generally a human-readable string that identifies the type of device.

The transmission power level for the device

Unstructured data set by the device manufacturer

Number of times we've seen advertising reports for this device

True if we've discovered the device before

Trait Implementations

impl Debug for PeripheralProperties
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for PeripheralProperties
[src]

[src]

Returns the "default value" for a type. Read more

impl Clone for PeripheralProperties
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations