pub struct WorkQueueWorkSnapshot<T> {
pub work_id: String,
pub state: Option<WorkQueueDerivedState>,
pub payload: Option<T>,
pub active_lease: Option<WorkQueueActiveLease>,
pub records: Vec<WorkQueueRecord<T>>,
pub as_of_record_seq: u64,
}Expand description
WorkQueueWorkSnapshot data container.
Fields§
§work_id: Stringwork_id field for work id.
state: Option<WorkQueueDerivedState>state field for state.
payload: Option<T>payload field for payload.
active_lease: Option<WorkQueueActiveLease>active_lease field for active lease.
records: Vec<WorkQueueRecord<T>>records field for records.
as_of_record_seq: u64as_of_record_seq field for as of record seq.
Trait Implementations§
Source§impl<T: Clone> Clone for WorkQueueWorkSnapshot<T>
impl<T: Clone> Clone for WorkQueueWorkSnapshot<T>
Source§fn clone(&self) -> WorkQueueWorkSnapshot<T>
fn clone(&self) -> WorkQueueWorkSnapshot<T>
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<T: Debug> Debug for WorkQueueWorkSnapshot<T>
impl<T: Debug> Debug for WorkQueueWorkSnapshot<T>
Source§impl<T: PartialEq> PartialEq for WorkQueueWorkSnapshot<T>
impl<T: PartialEq> PartialEq for WorkQueueWorkSnapshot<T>
impl<T> StructuralPartialEq for WorkQueueWorkSnapshot<T>
Auto Trait Implementations§
impl<T> Freeze for WorkQueueWorkSnapshot<T>where
T: Freeze,
impl<T> RefUnwindSafe for WorkQueueWorkSnapshot<T>where
T: RefUnwindSafe,
impl<T> Send for WorkQueueWorkSnapshot<T>where
T: Send,
impl<T> Sync for WorkQueueWorkSnapshot<T>where
T: Sync,
impl<T> Unpin for WorkQueueWorkSnapshot<T>where
T: Unpin,
impl<T> UnsafeUnpin for WorkQueueWorkSnapshot<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for WorkQueueWorkSnapshot<T>where
T: 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