pub struct WorkerTaskCompletion {
pub task_id: String,
pub lease_owner: String,
pub attempt_count: u32,
pub now_ms: u64,
}Expand description
Worker completion guarded by the active lease.
Fields§
§task_id: String§lease_owner: String§attempt_count: u32§now_ms: u64Trait Implementations§
Source§impl Clone for WorkerTaskCompletion
impl Clone for WorkerTaskCompletion
Source§fn clone(&self) -> WorkerTaskCompletion
fn clone(&self) -> WorkerTaskCompletion
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 WorkerTaskCompletion
impl Debug for WorkerTaskCompletion
Source§impl PartialEq for WorkerTaskCompletion
impl PartialEq for WorkerTaskCompletion
Source§fn eq(&self, other: &WorkerTaskCompletion) -> bool
fn eq(&self, other: &WorkerTaskCompletion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for WorkerTaskCompletion
impl StructuralPartialEq for WorkerTaskCompletion
Auto Trait Implementations§
impl Freeze for WorkerTaskCompletion
impl RefUnwindSafe for WorkerTaskCompletion
impl Send for WorkerTaskCompletion
impl Sync for WorkerTaskCompletion
impl Unpin for WorkerTaskCompletion
impl UnsafeUnpin for WorkerTaskCompletion
impl UnwindSafe for WorkerTaskCompletion
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