pub struct ForwardingInput<'a> {
pub process_identifier: u32,
pub to_state: EventState,
pub locally_initiated: bool,
pub receiving_port: Option<u8>,
pub today: DaysOfWeek,
pub current_time: &'a Time,
}Expand description
One event notification offered to this device’s forwarders.
Fields§
§process_identifier: u32The process identifier the notification carries.
to_state: EventStateThe event state after the transition. Its transition (to-offnormal, to-fault or to-normal) is what Recipient_List entries filter on.
locally_initiated: boolWhether one of this device’s own objects generated the notification.
receiving_port: Option<u8>The port the notification arrived through, by its Clause 6 port ID,
or None when this device handed it to its forwarders itself.
today: DaysOfWeekThe current local day, for Recipient_List day filters.
current_time: &'a TimeThe current local time, for Recipient_List time windows.
Trait Implementations§
Source§impl<'a> Clone for ForwardingInput<'a>
impl<'a> Clone for ForwardingInput<'a>
impl<'a> Copy for ForwardingInput<'a>
Auto Trait Implementations§
impl<'a> Freeze for ForwardingInput<'a>
impl<'a> RefUnwindSafe for ForwardingInput<'a>
impl<'a> Send for ForwardingInput<'a>
impl<'a> Sync for ForwardingInput<'a>
impl<'a> Unpin for ForwardingInput<'a>
impl<'a> UnsafeUnpin for ForwardingInput<'a>
impl<'a> UnwindSafe for ForwardingInput<'a>
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