pub struct DispatchOperation {
pub kind: DispatchOperationKind,
pub conversation_id: String,
pub channel_name: String,
pub worker_id: Option<String>,
pub activity_state: Option<ActivityDispatchState>,
pub result: Option<ActivityResult>,
pub message: Option<String>,
}Expand description
Structured event recorded for each non-deterministic dispatch operation.
Fields§
§kind: DispatchOperationKindOperation kind.
conversation_id: StringConversation correlation identifier.
channel_name: StringDispatch channel name.
worker_id: Option<String>Worker associated with the operation, when one has been selected.
activity_state: Option<ActivityDispatchState>Aion activity state mapped from the conversation lifecycle.
result: Option<ActivityResult>Activity result carried by receive operations.
message: Option<String>Diagnostic detail for failure operations.
Trait Implementations§
Source§impl Clone for DispatchOperation
impl Clone for DispatchOperation
Source§fn clone(&self) -> DispatchOperation
fn clone(&self) -> DispatchOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DispatchOperation
impl Debug for DispatchOperation
impl Eq for DispatchOperation
Source§impl PartialEq for DispatchOperation
impl PartialEq for DispatchOperation
Source§fn eq(&self, other: &DispatchOperation) -> bool
fn eq(&self, other: &DispatchOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DispatchOperation
Auto Trait Implementations§
impl Freeze for DispatchOperation
impl RefUnwindSafe for DispatchOperation
impl Send for DispatchOperation
impl Sync for DispatchOperation
impl Unpin for DispatchOperation
impl UnsafeUnpin for DispatchOperation
impl UnwindSafe for DispatchOperation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.