pub enum BACnetRecipient {
Device(ObjectIdentifier),
Address(BACnetAddress),
}Expand description
A BACnet notification recipient: either a Device object reference or a network address.
Context tags per spec:
[0]Device (ObjectIdentifier)[1]Address (BACnetAddress)
Variants§
Device(ObjectIdentifier)
A device identified by its Object Identifier (context tag 0).
Address(BACnetAddress)
A device identified by its network address (context tag 1).
Trait Implementations§
Source§impl Clone for BACnetRecipient
impl Clone for BACnetRecipient
Source§fn clone(&self) -> BACnetRecipient
fn clone(&self) -> BACnetRecipient
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 moreSource§impl Debug for BACnetRecipient
impl Debug for BACnetRecipient
Source§impl PartialEq for BACnetRecipient
impl PartialEq for BACnetRecipient
impl Eq for BACnetRecipient
impl StructuralPartialEq for BACnetRecipient
Auto Trait Implementations§
impl Freeze for BACnetRecipient
impl RefUnwindSafe for BACnetRecipient
impl Send for BACnetRecipient
impl Sync for BACnetRecipient
impl Unpin for BACnetRecipient
impl UnsafeUnpin for BACnetRecipient
impl UnwindSafe for BACnetRecipient
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