pub struct WorkQueueReadinessCandidate {
pub candidate_id: String,
pub queue_id: String,
pub work_id: String,
pub schedule_id: String,
pub candidate_kind: WorkQueueReadinessCandidateKind,
pub schedule_kind: WorkQueueReadinessScheduleKind,
pub ready_at_ms: u64,
pub now_ms: u64,
pub lease_id: Option<String>,
pub attempt: Option<u32>,
pub worker_id: Option<String>,
pub source_refs: Vec<SourceRef>,
}Expand description
WorkQueueReadinessCandidate data container.
Fields§
§candidate_id: Stringcandidate_id field for candidate id.
queue_id: Stringqueue_id field for queue id.
work_id: Stringwork_id field for work id.
schedule_id: Stringschedule_id field for schedule id.
candidate_kind: WorkQueueReadinessCandidateKindcandidate_kind field for candidate kind.
schedule_kind: WorkQueueReadinessScheduleKindschedule_kind field for schedule kind.
ready_at_ms: u64ready_at_ms field for ready at ms.
now_ms: u64now_ms field for now ms.
lease_id: Option<String>lease_id field for lease id.
attempt: Option<u32>attempt field for attempt.
worker_id: Option<String>worker_id field for worker id.
source_refs: Vec<SourceRef>source_refs field for source refs.
Trait Implementations§
Source§impl Clone for WorkQueueReadinessCandidate
impl Clone for WorkQueueReadinessCandidate
Source§fn clone(&self) -> WorkQueueReadinessCandidate
fn clone(&self) -> WorkQueueReadinessCandidate
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 WorkQueueReadinessCandidate
impl Debug for WorkQueueReadinessCandidate
impl StructuralPartialEq for WorkQueueReadinessCandidate
Auto Trait Implementations§
impl Freeze for WorkQueueReadinessCandidate
impl RefUnwindSafe for WorkQueueReadinessCandidate
impl Send for WorkQueueReadinessCandidate
impl Sync for WorkQueueReadinessCandidate
impl Unpin for WorkQueueReadinessCandidate
impl UnsafeUnpin for WorkQueueReadinessCandidate
impl UnwindSafe for WorkQueueReadinessCandidate
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