pub struct PeerDevice {
pub device_id: String,
pub address: String,
pub rssi: i16,
pub last_seen: SystemTime,
pub connected: bool,
}Expand description
Peer device information
Fields§
§device_id: StringDevice ID (user_id)
address: StringBLE address (platform-specific)
rssi: i16Signal strength in dBm
last_seen: SystemTimeLast seen timestamp
connected: boolConnection status
Trait Implementations§
Source§impl Clone for PeerDevice
impl Clone for PeerDevice
Auto Trait Implementations§
impl Freeze for PeerDevice
impl RefUnwindSafe for PeerDevice
impl Send for PeerDevice
impl Sync for PeerDevice
impl Unpin for PeerDevice
impl UnsafeUnpin for PeerDevice
impl UnwindSafe for PeerDevice
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