pub struct BACnetPropertyValue {
pub property_identifier: PropertyIdentifier,
pub property_array_index: Option<u32>,
pub value: Vec<u8>,
pub priority: Option<u8>,
}Expand description
BACnetPropertyValue (Clause 21.6).
Four context-tagged members in order: property identifier [0], an optional Unsigned array
index [1], the value inside an opening/closing [2] pair (typed by the property), and an
optional priority [3], an Unsigned limited to 1-16.
The value field contains raw application-tagged bytes. The application
layer interprets the value based on the property type.
Fields§
§property_identifier: PropertyIdentifierProperty being reported.
property_array_index: Option<u32>Array element index; None means the whole property.
value: Vec<u8>Property value as encoded BACnet bytes, without the surrounding [2] context tags.
priority: Option<u8>Write priority (1-16); None when absent.
Trait Implementations§
Source§impl Clone for BACnetPropertyValue
impl Clone for BACnetPropertyValue
Source§impl Debug for BACnetPropertyValue
impl Debug for BACnetPropertyValue
impl Eq for BACnetPropertyValue
Source§impl PartialEq for BACnetPropertyValue
impl PartialEq for BACnetPropertyValue
impl StructuralPartialEq for BACnetPropertyValue
Auto Trait Implementations§
impl Freeze for BACnetPropertyValue
impl RefUnwindSafe for BACnetPropertyValue
impl Send for BACnetPropertyValue
impl Sync for BACnetPropertyValue
impl Unpin for BACnetPropertyValue
impl UnsafeUnpin for BACnetPropertyValue
impl UnwindSafe for BACnetPropertyValue
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