pub struct EventNotificationRequest {
pub process_identifier: u32,
pub initiating_device_identifier: ObjectIdentifier,
pub event_object_identifier: ObjectIdentifier,
pub timestamp: BACnetTimeStamp,
pub notification_class: u32,
pub priority: u8,
pub event_type: u32,
pub notify_type: u32,
pub ack_required: bool,
pub from_state: u32,
pub to_state: u32,
pub event_values: Option<NotificationParameters>,
}Expand description
ConfirmedEventNotification / UnconfirmedEventNotification request parameters.
Encodes all required fields per Clause 13.5/13.6. Event values (tag 12) are still omitted (simplified).
Fields§
§process_identifier: u32Process identifier of the notification recipient.
initiating_device_identifier: ObjectIdentifierDevice that generated the event.
event_object_identifier: ObjectIdentifierObject that triggered the event.
timestamp: BACnetTimeStampTimestamp of the event transition.
notification_class: u32Notification class for routing.
priority: u8Priority (0-255).
event_type: u32Event type (e.g., OUT_OF_RANGE = 5).
notify_type: u32Notify type: ALARM(0), EVENT(1), ACK_NOTIFICATION(2).
ack_required: boolWhether the recipient must acknowledge.
from_state: u32Event state before this transition.
to_state: u32Event state after this transition.
event_values: Option<NotificationParameters>Optional event values (tag [12]).
Implementations§
Trait Implementations§
Source§impl Clone for EventNotificationRequest
impl Clone for EventNotificationRequest
Source§fn clone(&self) -> EventNotificationRequest
fn clone(&self) -> EventNotificationRequest
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 moreAuto Trait Implementations§
impl Freeze for EventNotificationRequest
impl RefUnwindSafe for EventNotificationRequest
impl Send for EventNotificationRequest
impl Sync for EventNotificationRequest
impl Unpin for EventNotificationRequest
impl UnsafeUnpin for EventNotificationRequest
impl UnwindSafe for EventNotificationRequest
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