pub struct WorkQueueAvailableItem<T> {
pub work_id: String,
pub state: WorkQueueDerivedState,
pub payload: T,
pub admission_seq: u64,
pub priority: Option<i64>,
pub tags: Vec<String>,
pub requirements: Vec<String>,
pub not_before_ms: Option<u64>,
pub retry_at_ms: Option<u64>,
pub deadline_ms: Option<u64>,
}Expand description
WorkQueueAvailableItem data container.
Fields§
§work_id: Stringwork_id field for work id.
state: WorkQueueDerivedStatestate field for state.
payload: Tpayload field for payload.
admission_seq: u64admission_seq field for admission seq.
priority: Option<i64>priority field for priority.
tags field for tags.
requirements: Vec<String>requirements field for requirements.
not_before_ms: Option<u64>not_before_ms field for not before ms.
retry_at_ms: Option<u64>retry_at_ms field for retry at ms.
deadline_ms: Option<u64>deadline_ms field for deadline ms.
Trait Implementations§
Source§impl<T: Clone> Clone for WorkQueueAvailableItem<T>
impl<T: Clone> Clone for WorkQueueAvailableItem<T>
Source§fn clone(&self) -> WorkQueueAvailableItem<T>
fn clone(&self) -> WorkQueueAvailableItem<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 WorkQueueAvailableItem<T>
impl<T: Debug> Debug for WorkQueueAvailableItem<T>
Source§impl<T: PartialEq> PartialEq for WorkQueueAvailableItem<T>
impl<T: PartialEq> PartialEq for WorkQueueAvailableItem<T>
impl<T> StructuralPartialEq for WorkQueueAvailableItem<T>
Auto Trait Implementations§
impl<T> Freeze for WorkQueueAvailableItem<T>where
T: Freeze,
impl<T> RefUnwindSafe for WorkQueueAvailableItem<T>where
T: RefUnwindSafe,
impl<T> Send for WorkQueueAvailableItem<T>where
T: Send,
impl<T> Sync for WorkQueueAvailableItem<T>where
T: Sync,
impl<T> Unpin for WorkQueueAvailableItem<T>where
T: Unpin,
impl<T> UnsafeUnpin for WorkQueueAvailableItem<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for WorkQueueAvailableItem<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