pub struct ProcessEffectCommandPayload<TResult = AnyValue> {
pub kind: ProcessEffectOutcomeKind,
pub effect_id: String,
pub effect_type: String,
pub value: Option<TResult>,
pub error: Option<String>,
pub reason: Option<String>,
pub process_id: Option<String>,
pub correlation_id: Option<String>,
pub causation_id: Option<String>,
}Expand description
ProcessEffectCommandPayload data container.
Fields§
§kind: ProcessEffectOutcomeKindkind field for kind.
effect_id: Stringeffect_id field for effect id.
effect_type: Stringeffect_type field for effect type.
value: Option<TResult>value field for value.
error: Option<String>error field for error.
reason: Option<String>reason field for reason.
process_id: Option<String>process_id field for process id.
correlation_id: Option<String>correlation_id field for correlation id.
causation_id: Option<String>causation_id field for causation id.
Trait Implementations§
Source§impl<TResult: Clone> Clone for ProcessEffectCommandPayload<TResult>
impl<TResult: Clone> Clone for ProcessEffectCommandPayload<TResult>
Source§fn clone(&self) -> ProcessEffectCommandPayload<TResult>
fn clone(&self) -> ProcessEffectCommandPayload<TResult>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<TResult: Debug> Debug for ProcessEffectCommandPayload<TResult>
impl<TResult: Debug> Debug for ProcessEffectCommandPayload<TResult>
Source§impl<TResult: PartialEq> PartialEq for ProcessEffectCommandPayload<TResult>
impl<TResult: PartialEq> PartialEq for ProcessEffectCommandPayload<TResult>
Source§fn eq(&self, other: &ProcessEffectCommandPayload<TResult>) -> bool
fn eq(&self, other: &ProcessEffectCommandPayload<TResult>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<TResult> StructuralPartialEq for ProcessEffectCommandPayload<TResult>
Auto Trait Implementations§
impl<TResult> Freeze for ProcessEffectCommandPayload<TResult>where
TResult: Freeze,
impl<TResult> RefUnwindSafe for ProcessEffectCommandPayload<TResult>where
TResult: RefUnwindSafe,
impl<TResult> Send for ProcessEffectCommandPayload<TResult>where
TResult: Send,
impl<TResult> Sync for ProcessEffectCommandPayload<TResult>where
TResult: Sync,
impl<TResult> Unpin for ProcessEffectCommandPayload<TResult>where
TResult: Unpin,
impl<TResult> UnsafeUnpin for ProcessEffectCommandPayload<TResult>where
TResult: UnsafeUnpin,
impl<TResult> UnwindSafe for ProcessEffectCommandPayload<TResult>where
TResult: 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