pub enum SpecialEventPeriod {
CalendarEntry(BACnetCalendarEntry),
CalendarReference(ObjectIdentifier),
}Expand description
The period portion of a BACnetSpecialEvent: either an inline CalendarEntry or a reference to an existing Calendar object.
Context tags per spec:
[0]CalendarEntry (constructed)[1]CalendarReference (ObjectIdentifier)
Variants§
CalendarEntry(BACnetCalendarEntry)
An inline calendar entry (context tag 0).
CalendarReference(ObjectIdentifier)
A reference to a Calendar object (context tag 1).
Trait Implementations§
Source§impl Clone for SpecialEventPeriod
impl Clone for SpecialEventPeriod
Source§fn clone(&self) -> SpecialEventPeriod
fn clone(&self) -> SpecialEventPeriod
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 SpecialEventPeriod
impl Debug for SpecialEventPeriod
Source§impl PartialEq for SpecialEventPeriod
impl PartialEq for SpecialEventPeriod
impl Eq for SpecialEventPeriod
impl StructuralPartialEq for SpecialEventPeriod
Auto Trait Implementations§
impl Freeze for SpecialEventPeriod
impl RefUnwindSafe for SpecialEventPeriod
impl Send for SpecialEventPeriod
impl Sync for SpecialEventPeriod
impl Unpin for SpecialEventPeriod
impl UnsafeUnpin for SpecialEventPeriod
impl UnwindSafe for SpecialEventPeriod
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