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,
) -> Self
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, ) -> Self
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