pub struct EventTransitionCommit {
pub change: EventStateChange,
pub coordinate: EventTransition,
pub ack_required: bool,
pub timestamp: BACnetTimeStamp,
pub message_text: Option<String>,
}Expand description
All object-owned values needed to commit one event-state transition.
Callers stage the timestamp and optional message before invoking an object’s internal commit hook. The object then validates the transition coordinate and source state before changing any of its event properties.
Fields§
§change: EventStateChangeThe expected source state and exact destination state.
coordinate: EventTransitionThe destination state’s transition coordinate.
ack_required: boolWhether the referenced Notification Class requires acknowledgment.
timestamp: BACnetTimeStampThe timestamp CHOICE to store for coordinate.
message_text: Option<String>Replacement message for coordinate, or None when the property is absent.
Trait Implementations§
Source§impl Clone for EventTransitionCommit
impl Clone for EventTransitionCommit
Source§impl Debug for EventTransitionCommit
impl Debug for EventTransitionCommit
Source§impl PartialEq for EventTransitionCommit
impl PartialEq for EventTransitionCommit
impl StructuralPartialEq for EventTransitionCommit
Auto Trait Implementations§
impl Freeze for EventTransitionCommit
impl RefUnwindSafe for EventTransitionCommit
impl Send for EventTransitionCommit
impl Sync for EventTransitionCommit
impl Unpin for EventTransitionCommit
impl UnsafeUnpin for EventTransitionCommit
impl UnwindSafe for EventTransitionCommit
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