pub struct CqrsWorkQueueAttempt<TCommand> {
pub kind: String,
pub work_id: String,
pub lease_id: String,
pub queue_attempt: u32,
pub worker_id: String,
pub command: CqrsCommand<TCommand>,
pub payload: CqrsQueuedCommandPayload<TCommand>,
pub source_refs: Vec<String>,
}Expand description
CqrsWorkQueueAttempt data container.
Fields§
§kind: Stringkind field for kind.
work_id: Stringwork_id field for work id.
lease_id: Stringlease_id field for lease id.
queue_attempt: u32queue_attempt field for queue attempt.
worker_id: Stringworker_id field for worker id.
command: CqrsCommand<TCommand>command field for command.
payload: CqrsQueuedCommandPayload<TCommand>payload field for payload.
source_refs: Vec<String>source_refs field for source refs.
Trait Implementations§
Source§impl<TCommand: Clone> Clone for CqrsWorkQueueAttempt<TCommand>
impl<TCommand: Clone> Clone for CqrsWorkQueueAttempt<TCommand>
Source§fn clone(&self) -> CqrsWorkQueueAttempt<TCommand>
fn clone(&self) -> CqrsWorkQueueAttempt<TCommand>
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<TCommand: Debug> Debug for CqrsWorkQueueAttempt<TCommand>
impl<TCommand: Debug> Debug for CqrsWorkQueueAttempt<TCommand>
Source§impl<TCommand: PartialEq> PartialEq for CqrsWorkQueueAttempt<TCommand>
impl<TCommand: PartialEq> PartialEq for CqrsWorkQueueAttempt<TCommand>
Source§fn eq(&self, other: &CqrsWorkQueueAttempt<TCommand>) -> bool
fn eq(&self, other: &CqrsWorkQueueAttempt<TCommand>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<TCommand> StructuralPartialEq for CqrsWorkQueueAttempt<TCommand>
Auto Trait Implementations§
impl<TCommand> Freeze for CqrsWorkQueueAttempt<TCommand>where
TCommand: Freeze,
impl<TCommand> RefUnwindSafe for CqrsWorkQueueAttempt<TCommand>where
TCommand: RefUnwindSafe,
impl<TCommand> Send for CqrsWorkQueueAttempt<TCommand>where
TCommand: Send,
impl<TCommand> Sync for CqrsWorkQueueAttempt<TCommand>where
TCommand: Sync,
impl<TCommand> Unpin for CqrsWorkQueueAttempt<TCommand>where
TCommand: Unpin,
impl<TCommand> UnsafeUnpin for CqrsWorkQueueAttempt<TCommand>where
TCommand: UnsafeUnpin,
impl<TCommand> UnwindSafe for CqrsWorkQueueAttempt<TCommand>where
TCommand: 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