pub struct DiscoveredDevice {
pub address: DataLinkAddress,
pub device_id: Option<ObjectId>,
}Expand description
A BACnet device discovered via a Who-Is / I-Am exchange.
device_id is None if the I-Am reply could not be decoded to extract the object
identifier (this should not happen with a standards-compliant device).
Fields§
§address: DataLinkAddressTransport address from which the I-Am reply was received.
device_id: Option<ObjectId>The device’s object identifier (type = Device, instance = device instance number).
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 UnsafeUnpin 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