pub enum BACnetTimeStamp {
Time(Time),
SequenceNumber(u64),
DateTime {
date: Date,
time: Time,
},
}Expand description
BACnet timestamp – a CHOICE of Time, sequence number, or DateTime. Per Clause 20.2.1.5 (ASHRAE 135-2020).
Variants§
Time(Time)
Context tag 0: Time
SequenceNumber(u64)
Context tag 1: Unsigned (sequence number)
DateTime
Context tag 2: BACnetDateTime (Date + Time)
Trait Implementations§
Source§impl Clone for BACnetTimeStamp
impl Clone for BACnetTimeStamp
Source§fn clone(&self) -> BACnetTimeStamp
fn clone(&self) -> BACnetTimeStamp
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 BACnetTimeStamp
impl Debug for BACnetTimeStamp
Source§impl PartialEq for BACnetTimeStamp
impl PartialEq for BACnetTimeStamp
impl StructuralPartialEq for BACnetTimeStamp
Auto Trait Implementations§
impl Freeze for BACnetTimeStamp
impl RefUnwindSafe for BACnetTimeStamp
impl Send for BACnetTimeStamp
impl Sync for BACnetTimeStamp
impl Unpin for BACnetTimeStamp
impl UnsafeUnpin for BACnetTimeStamp
impl UnwindSafe for BACnetTimeStamp
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