pub struct EventNotificationData {Show 13 fields
pub process_identifier: Datum,
pub initiating_device: Datum,
pub event_object: Datum,
pub timestamp: Datum,
pub notification_class: Datum,
pub priority: Datum,
pub event_type: Datum,
pub message_text: Datum,
pub notify_type: Datum,
pub ack_required: Datum,
pub from_state: Datum,
pub to_state: Datum,
pub event_values: Datum,
}Expand description
An Event Log record’s event notification, decoded.
Fields§
§process_identifier: DatumThe notification’s process identifier, a number.
initiating_device: DatumThe device that sent it, a Datum::Object.
event_object: DatumThe object whose event it reports.
timestamp: DatumWhen the transition happened, a time-stamp element.
notification_class: DatumIts notification class, a number.
priority: DatumIts priority, a number.
event_type: DatumThe event algorithm, named.
message_text: DatumThe message, as the device wrote it; Datum::Null when absent.
notify_type: DatumAlarm, event or ack-notification.
ack_required: DatumWhether the recipient was asked to acknowledge it; Datum::Null
for an ack-notification, which doesn’t carry it.
from_state: DatumThe state before the transition, named; Datum::Null for an
ack-notification, which doesn’t carry it either.
to_state: DatumThe state after it, named.
event_values: DatumThe event values, a notification-parameters element decoded
field by field (EventValues); Datum::Null when absent.
Implementations§
Source§impl EventNotificationData
impl EventNotificationData
Sourcepub fn new(notification: &EventNotificationRequest) -> Self
pub fn new(notification: &EventNotificationRequest) -> Self
One event notification, decoded.