pub struct DiscoveredDevice {
pub address: String,
pub name: Option<String>,
pub rssi: i8,
pub is_hive_node: bool,
pub node_id: Option<NodeId>,
pub adv_data: Vec<u8>,
}Expand description
Discovered BLE device
Fields§
§address: StringDevice address (MAC or platform-specific)
name: Option<String>Device name (if available)
rssi: i8RSSI in dBm
is_hive_node: boolIs this a HIVE node?
node_id: Option<NodeId>Parsed HIVE node ID (if HIVE node)
adv_data: Vec<u8>Raw advertising data
Trait Implementations§
Source§impl Clone for DiscoveredDevice
impl Clone for DiscoveredDevice
Source§fn clone(&self) -> DiscoveredDevice
fn clone(&self) -> DiscoveredDevice
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DiscoveredDevice
impl RefUnwindSafe for DiscoveredDevice
impl Send for DiscoveredDevice
impl Sync for DiscoveredDevice
impl Unpin for DiscoveredDevice
impl UnwindSafe for DiscoveredDevice
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