pub struct BleDeviceInfo {
pub id: BleIdentifier,
pub name: Option<String>,
pub rssi: Option<i16>,
}Available on crate feature
ble only.Expand description
Information about a BLE device
Fields§
§id: BleIdentifierAn device identifier
name: Option<String>The device name
rssi: Option<i16>RSSI, in dBm
Trait Implementations§
Source§impl Clone for BleDeviceInfo
impl Clone for BleDeviceInfo
Source§impl Debug for BleDeviceInfo
impl Debug for BleDeviceInfo
impl Eq for BleDeviceInfo
Source§impl Ord for BleDeviceInfo
impl Ord for BleDeviceInfo
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for BleDeviceInfo
impl PartialEq for BleDeviceInfo
Source§impl PartialOrd for BleDeviceInfo
impl PartialOrd for BleDeviceInfo
Source§impl Serialize for BleDeviceInfo
impl Serialize for BleDeviceInfo
impl StructuralPartialEq for BleDeviceInfo
Auto Trait Implementations§
impl Freeze for BleDeviceInfo
impl RefUnwindSafe for BleDeviceInfo
impl Send for BleDeviceInfo
impl Sync for BleDeviceInfo
impl Unpin for BleDeviceInfo
impl UnsafeUnpin for BleDeviceInfo
impl UnwindSafe for BleDeviceInfo
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