pub struct PurgeCandidate { /* private fields */ }Expand description
One purge candidate and the version observed while planning.
Implementations§
Source§impl PurgeCandidate
impl PurgeCandidate
Sourcepub const fn new(
job_instance_id: JobInstanceId,
job_execution_id: JobExecutionId,
version: ExecutionVersion,
) -> Self
pub const fn new( job_instance_id: JobInstanceId, job_execution_id: JobExecutionId, version: ExecutionVersion, ) -> Self
Records one observed candidate.
Sourcepub const fn job_instance_id(&self) -> JobInstanceId
pub const fn job_instance_id(&self) -> JobInstanceId
Returns the owning logical instance.
Sourcepub const fn job_execution_id(&self) -> JobExecutionId
pub const fn job_execution_id(&self) -> JobExecutionId
Returns the candidate execution.
Sourcepub const fn version(&self) -> ExecutionVersion
pub const fn version(&self) -> ExecutionVersion
Returns the version observed while planning.
Trait Implementations§
Source§impl Clone for PurgeCandidate
impl Clone for PurgeCandidate
Source§fn clone(&self) -> PurgeCandidate
fn clone(&self) -> PurgeCandidate
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 moreimpl Copy for PurgeCandidate
Source§impl Debug for PurgeCandidate
impl Debug for PurgeCandidate
impl Eq for PurgeCandidate
Source§impl Hash for PurgeCandidate
impl Hash for PurgeCandidate
Source§impl Ord for PurgeCandidate
impl Ord for PurgeCandidate
Source§fn cmp(&self, other: &PurgeCandidate) -> Ordering
fn cmp(&self, other: &PurgeCandidate) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PurgeCandidate
impl PartialEq for PurgeCandidate
Source§impl PartialOrd for PurgeCandidate
impl PartialOrd for PurgeCandidate
impl StructuralPartialEq for PurgeCandidate
Auto Trait Implementations§
impl Freeze for PurgeCandidate
impl RefUnwindSafe for PurgeCandidate
impl Send for PurgeCandidate
impl Sync for PurgeCandidate
impl Unpin for PurgeCandidate
impl UnsafeUnpin for PurgeCandidate
impl UnwindSafe for PurgeCandidate
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