pub struct ClaimedTask {
pub index: usize,
pub task_id: i64,
pub processing_token: i64,
}Expand description
Successfully claimed task metadata.
Fields§
§index: usizeIndex of the task in the originally listed due-task batch.
task_id: i64Persisted task identifier.
processing_token: i64Processing token assigned to the successful claim.
Trait Implementations§
Source§impl Clone for ClaimedTask
impl Clone for ClaimedTask
Source§fn clone(&self) -> ClaimedTask
fn clone(&self) -> ClaimedTask
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 ClaimedTask
impl Debug for ClaimedTask
Source§impl PartialEq for ClaimedTask
impl PartialEq for ClaimedTask
Source§fn eq(&self, other: &ClaimedTask) -> bool
fn eq(&self, other: &ClaimedTask) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ClaimedTask
impl Eq for ClaimedTask
impl StructuralPartialEq for ClaimedTask
Auto Trait Implementations§
impl Freeze for ClaimedTask
impl RefUnwindSafe for ClaimedTask
impl Send for ClaimedTask
impl Sync for ClaimedTask
impl Unpin for ClaimedTask
impl UnsafeUnpin for ClaimedTask
impl UnwindSafe for ClaimedTask
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.