pub struct BACnetTimeValue {
pub time: Time,
pub value: PropertyValue,
}Expand description
BACnet time-value pair: a Time followed by a value of any primitive datatype.
The value is typed, so a Schedule writes it with its own datatype. Only
primitive values (PropertyValue::is_primitive) belong here; the codec
refuses to encode a List or ApplicationData.
Fields§
§time: TimeThe time at which the value applies.
value: PropertyValueThe value: NULL, BOOLEAN, Unsigned, INTEGER, REAL, Double, OCTET STRING, CharacterString, BIT STRING, ENUMERATED, Date, Time or BACnetObjectIdentifier.
Trait Implementations§
Source§impl Clone for BACnetTimeValue
impl Clone for BACnetTimeValue
Source§impl Debug for BACnetTimeValue
impl Debug for BACnetTimeValue
Source§impl PartialEq for BACnetTimeValue
impl PartialEq for BACnetTimeValue
impl StructuralPartialEq for BACnetTimeValue
Auto Trait Implementations§
impl Freeze for BACnetTimeValue
impl RefUnwindSafe for BACnetTimeValue
impl Send for BACnetTimeValue
impl Sync for BACnetTimeValue
impl Unpin for BACnetTimeValue
impl UnsafeUnpin for BACnetTimeValue
impl UnwindSafe for BACnetTimeValue
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