pub struct PurgeCounts { /* private fields */ }Expand description
Per-table row counts of one purge plan or applied batch.
Implementations§
Source§impl PurgeCounts
impl PurgeCounts
Sourcepub const fn new(
flow_decisions: u64,
recovery_decisions: u64,
operator_requests: u64,
step_partitions: u64,
step_executions: u64,
job_executions: u64,
job_instances: u64,
) -> PurgeCounts
pub const fn new( flow_decisions: u64, recovery_decisions: u64, operator_requests: u64, step_partitions: u64, step_executions: u64, job_executions: u64, job_instances: u64, ) -> PurgeCounts
Records per-table counts in deletion order.
Sourcepub const fn flow_decisions(self) -> u64
pub const fn flow_decisions(self) -> u64
Returns the flow-decision count.
Sourcepub const fn recovery_decisions(self) -> u64
pub const fn recovery_decisions(self) -> u64
Returns the recovery-decision count.
Sourcepub const fn operator_requests(self) -> u64
pub const fn operator_requests(self) -> u64
Returns the operator-request count.
Sourcepub const fn step_partitions(self) -> u64
pub const fn step_partitions(self) -> u64
Returns the step-partition count.
Sourcepub const fn step_executions(self) -> u64
pub const fn step_executions(self) -> u64
Returns the step-execution count.
Sourcepub const fn job_executions(self) -> u64
pub const fn job_executions(self) -> u64
Returns the job-execution count.
Sourcepub const fn job_instances(self) -> u64
pub const fn job_instances(self) -> u64
Returns the job-instance count.
Trait Implementations§
Source§impl Clone for PurgeCounts
impl Clone for PurgeCounts
Source§fn clone(&self) -> PurgeCounts
fn clone(&self) -> PurgeCounts
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 PurgeCounts
Source§impl Debug for PurgeCounts
impl Debug for PurgeCounts
Source§impl Default for PurgeCounts
impl Default for PurgeCounts
Source§fn default() -> PurgeCounts
fn default() -> PurgeCounts
Returns the “default value” for a type. Read more
impl Eq for PurgeCounts
Source§impl Hash for PurgeCounts
impl Hash for PurgeCounts
Source§impl Ord for PurgeCounts
impl Ord for PurgeCounts
Source§fn cmp(&self, other: &PurgeCounts) -> Ordering
fn cmp(&self, other: &PurgeCounts) -> 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 PurgeCounts
impl PartialEq for PurgeCounts
Source§impl PartialOrd for PurgeCounts
impl PartialOrd for PurgeCounts
impl StructuralPartialEq for PurgeCounts
Auto Trait Implementations§
impl Freeze for PurgeCounts
impl RefUnwindSafe for PurgeCounts
impl Send for PurgeCounts
impl Sync for PurgeCounts
impl Unpin for PurgeCounts
impl UnsafeUnpin for PurgeCounts
impl UnwindSafe for PurgeCounts
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more