pub struct Change {
pub seq: u64,
pub number: u64,
pub event: TaskEvent,
pub state: TaskState,
pub worker: Option<String>,
}Expand description
One recorded transition, as a write returns it for its notices.
Fields§
§seq: u64The store’s journal sequence of this transition (unique per store).
number: u64§event: TaskEvent§state: TaskState§worker: Option<String>The agent the event is about when it must not be told: the worker whose result waits for a check.
Trait Implementations§
impl Eq for Change
Source§impl From<&Transition> for Change
impl From<&Transition> for Change
Source§fn from(t: &Transition) -> Self
fn from(t: &Transition) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Change
Auto Trait Implementations§
impl Forget for Change
impl Freeze for Change
impl Move for Change
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnsafeUnpin for Change
impl UnwindSafe for Change
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