pub struct WorkQueueActiveLease {
pub lease_id: String,
pub attempt: u32,
pub worker_id: String,
pub lease_expires_at_ms: u64,
}Expand description
WorkQueueActiveLease data container.
Fields§
§lease_id: Stringlease_id field for lease id.
attempt: u32attempt field for attempt.
worker_id: Stringworker_id field for worker id.
lease_expires_at_ms: u64lease_expires_at_ms field for lease expires at ms.
Trait Implementations§
Source§impl Clone for WorkQueueActiveLease
impl Clone for WorkQueueActiveLease
Source§fn clone(&self) -> WorkQueueActiveLease
fn clone(&self) -> WorkQueueActiveLease
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 Debug for WorkQueueActiveLease
impl Debug for WorkQueueActiveLease
Source§impl PartialEq for WorkQueueActiveLease
impl PartialEq for WorkQueueActiveLease
impl Eq for WorkQueueActiveLease
impl StructuralPartialEq for WorkQueueActiveLease
Auto Trait Implementations§
impl Freeze for WorkQueueActiveLease
impl RefUnwindSafe for WorkQueueActiveLease
impl Send for WorkQueueActiveLease
impl Sync for WorkQueueActiveLease
impl Unpin for WorkQueueActiveLease
impl UnsafeUnpin for WorkQueueActiveLease
impl UnwindSafe for WorkQueueActiveLease
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.