pub struct DiscoveredDevice {
pub object_identifier: ObjectIdentifier,
pub mac_address: MacAddr,
pub max_apdu_length: u32,
pub segmentation_supported: Segmentation,
pub max_segments_accepted: Option<u32>,
pub vendor_id: u16,
pub last_seen: Instant,
}Expand description
Information about a discovered BACnet device.
Fields§
§object_identifier: ObjectIdentifierThe device’s object identifier (always ObjectType::DEVICE).
mac_address: MacAddrThe MAC address from which the IAm was received.
max_apdu_length: u32Maximum APDU length the device accepts.
segmentation_supported: SegmentationSegmentation support level.
max_segments_accepted: Option<u32>Maximum segments the remote device accepts (None = unlimited/unspecified).
vendor_id: u16Vendor identifier.
last_seen: InstantWhen this entry was last updated.
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