pub struct PurgeCounts {
pub entry_state: u64,
pub read_cursor: u64,
pub sub_ref: u64,
pub beta_access: u64,
pub invite_codes: u64,
pub invitee_scrubbed: u64,
pub granted_by_scrubbed: u64,
}Expand description
The row counts purged by purge_did_data, for a confirmable success
message and for assertions in tests.
Fields§
§entry_state: u64entry_state rows removed (per-DID read/star flags).
read_cursor: u64read_cursor rows removed (per-DID per-feed read cursors).
sub_ref: u64sub_ref rows removed (the DID’s subscription projection).
beta_access: u64beta_access rows removed (the DID’s closed-beta seat: 0 or 1).
invite_codes: u64invite_codes rows removed (codes this DID created).
invitee_scrubbed: u64invite_codes rows scrubbed (the code this DID redeemed to join —
its invitee_did back-reference cleared to NULL, row kept).
granted_by_scrubbed: u64beta_access rows scrubbed (seats this DID granted to others — the
granted_by back-reference redacted to a sentinel, row kept).
Implementations§
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 PartialEq for PurgeCounts
impl PartialEq 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> 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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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