pub enum BACnetTimeStamp {
Time(Time),
SequenceNumber(u16),
DateTime {
date: Date,
time: Time,
},
}Expand description
BACnet timestamp – a CHOICE of Time, sequence number, or DateTime.
Variants§
Time(Time)
Context tag 0: Time
SequenceNumber(u16)
Context tag 1: Unsigned sequence number in the required 0..=65535 range.
DateTime
Context tag 2: BACnetDateTime (Date + Time)
Trait Implementations§
Source§impl Clone for BACnetTimeStamp
impl Clone for BACnetTimeStamp
Source§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