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§fn clone(&self) -> BleDeviceInfo
fn clone(&self) -> BleDeviceInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BleDeviceInfo
impl Debug for BleDeviceInfo
impl Eq for BleDeviceInfo
Source§impl Ord for BleDeviceInfo
impl Ord for BleDeviceInfo
Source§fn cmp(&self, other: &BleDeviceInfo) -> Ordering
fn cmp(&self, other: &BleDeviceInfo) -> Ordering
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more