pub enum BACnetObjectSelector {
None,
Object(ObjectIdentifier),
ObjectType(ObjectType),
}Expand description
BACnetObjectSelector (Clause 21), used by Audit Reporter Monitored_Objects.
This CHOICE uses application tags, not context tags. NULL is an ignored entry, not a wildcard; ObjectType includes the repository’s extensible values.
Variants§
None
Ignore this array entry.
Object(ObjectIdentifier)
Select exactly one object.
ObjectType(ObjectType)
Select all objects of this type.
Implementations§
Source§impl BACnetObjectSelector
impl BACnetObjectSelector
Sourcepub fn encode_property_value(&self) -> PropertyValue
pub fn encode_property_value(&self) -> PropertyValue
Project to the primitive application-tagged codec representation.
Sourcepub fn decode_property_value(value: &PropertyValue) -> Result<Self, Error>
pub fn decode_property_value(value: &PropertyValue) -> Result<Self, Error>
Decode one application value, rejecting alternatives outside the CHOICE.
Trait Implementations§
Source§impl Clone for BACnetObjectSelector
impl Clone for BACnetObjectSelector
impl Copy for BACnetObjectSelector
Source§impl Debug for BACnetObjectSelector
impl Debug for BACnetObjectSelector
impl Eq for BACnetObjectSelector
Source§impl PartialEq for BACnetObjectSelector
impl PartialEq for BACnetObjectSelector
impl StructuralPartialEq for BACnetObjectSelector
Auto Trait Implementations§
impl Freeze for BACnetObjectSelector
impl RefUnwindSafe for BACnetObjectSelector
impl Send for BACnetObjectSelector
impl Sync for BACnetObjectSelector
impl Unpin for BACnetObjectSelector
impl UnsafeUnpin for BACnetObjectSelector
impl UnwindSafe for BACnetObjectSelector
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