pub struct BleDevice {
pub id: String,
pub name: String,
pub rssi: i32,
}Expand description
Um aparelho Bluetooth achado.
Fields§
§id: StringO endereço (Android, Windows, Linux) ou o identificador que o sistema dá (macOS, iOS, navegador).
name: String§rssi: i32A força do sinal em dBm (0: o sistema não informou).
Trait Implementations§
impl Eq for BleDevice
impl StructuralPartialEq for BleDevice
Auto Trait Implementations§
impl Forget for BleDevice
impl Freeze for BleDevice
impl Move 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