pub struct Incoming<'a> {
pub seq: u64,
pub source: &'a str,
pub cause: Option<u64>,
pub kind: JobEventKind,
pub data: &'a Value,
}Expand description
An event as the model reads it.
Fields§
§seq: u64§source: &'a str§cause: Option<u64>§kind: JobEventKindWhat happened, typed: the model never reads an event’s name.
data: &'a ValueImplementations§
Trait Implementations§
impl<'a> Copy for Incoming<'a>
Auto Trait Implementations§
impl<'a> Freeze for Incoming<'a>
impl<'a> RefUnwindSafe for Incoming<'a>
impl<'a> Send for Incoming<'a>
impl<'a> Sync for Incoming<'a>
impl<'a> Unpin for Incoming<'a>
impl<'a> UnsafeUnpin for Incoming<'a>
impl<'a> UnwindSafe for Incoming<'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