pub enum PropertyValue {
}Expand description
A BACnet application-layer value.
This enum covers all primitive value types that can appear as property values in BACnet objects. Constructed types (lists, sequences) are represented as nested structures.
Variants§
Null
Null value.
Boolean(bool)
Boolean value.
Unsigned(u64)
Unsigned integer (up to 64-bit for BACnet Unsigned64).
Signed(i32)
Signed integer.
Real(f32)
IEEE 754 single-precision float.
Double(f64)
IEEE 754 double-precision float.
OctetString(Vec<u8>)
Octet string (raw bytes).
CharacterString(String)
Character string (UTF-8).
BitString
Bit string (variable length).
Enumerated(u32)
Enumerated value.
Date(Date)
Date value.
Time(Time)
Time value.
ObjectIdentifier(ObjectIdentifier)
Object identifier.
List(Vec<PropertyValue>)
A sequence (array) of property values.
Used when reading an entire array property with arrayIndex absent
(Clause 15.5.1). Each element is encoded as its own application-tagged
value, concatenated in order.
Trait Implementations§
Source§impl Clone for PropertyValue
impl Clone for PropertyValue
Source§fn clone(&self) -> PropertyValue
fn clone(&self) -> PropertyValue
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 PropertyValue
impl Debug for PropertyValue
Source§impl PartialEq for PropertyValue
impl PartialEq for PropertyValue
impl StructuralPartialEq for PropertyValue
Auto Trait Implementations§
impl Freeze for PropertyValue
impl RefUnwindSafe for PropertyValue
impl Send for PropertyValue
impl Sync for PropertyValue
impl Unpin for PropertyValue
impl UnsafeUnpin for PropertyValue
impl UnwindSafe for PropertyValue
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