pub struct BleDevice {
pub name: String,
pub address: String,
pub rssi: Option<i64>,
pub uuids: Vec<String>,
}Expand description
One device found by a BLE or BluFi scan.
Fields§
§name: StringAdvertised name (falls back to the address when unnamed).
address: StringBLE MAC address, XX:XX:XX:XX:XX:XX.
rssi: Option<i64>Signal strength (dBm).
uuids: Vec<String>Advertised service UUIDs.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BleDevice
impl<'de> Deserialize<'de> for BleDevice
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BleDevice
impl RefUnwindSafe for BleDevice
impl Send for BleDevice
impl Sync for BleDevice
impl Unpin for BleDevice
impl UnsafeUnpin for BleDevice
impl UnwindSafe for BleDevice
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