pub struct HandlerContext {
pub id: String,
pub actor: String,
pub run: String,
}Expand description
What a handler of work is told beside the work: its id, its actor, and the run it is of. A host action is done at least once: a handler that must do it once dedupes by the run and the id.
Fields§
§id: StringThe work’s id.
actor: StringThe address of the actor whose work it is.
run: StringThe run’s id.
Trait Implementations§
Source§impl Clone for HandlerContext
impl Clone for HandlerContext
Source§impl Debug for HandlerContext
impl Debug for HandlerContext
impl Eq for HandlerContext
Source§impl PartialEq for HandlerContext
impl PartialEq for HandlerContext
impl StructuralPartialEq for HandlerContext
Auto Trait Implementations§
impl Forget for HandlerContext
impl Freeze for HandlerContext
impl Move for HandlerContext
impl RefUnwindSafe for HandlerContext
impl Send for HandlerContextwhere
RawVecInner: Send,
impl Sync for HandlerContextwhere
RawVecInner: Sync,
impl Unpin for HandlerContext
impl UnsafeUnpin for HandlerContext
impl UnwindSafe for HandlerContextwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.