pub enum ForgetReason {
Expired,
Retracted,
ErasureRequest,
}Expand description
Why a record was forgotten. Closed enum, carried on the tombstone: the reason is what distinguishes a reaper’s expiry from a GDPR-shaped erasure request in the audit trail.
Variants§
Expired
The record’s TTL lapsed. Expiration stays a retrieval filter too — this is the operator-driven sweep acting on it, journaled.
Retracted
The record was wrong (or its correction superseded the need for it) and is withdrawn.
ErasureRequest
An erasure request (a user’s, an operator’s compliance pass).
Trait Implementations§
Source§impl Clone for ForgetReason
impl Clone for ForgetReason
impl Copy for ForgetReason
Source§impl Debug for ForgetReason
impl Debug for ForgetReason
Source§impl<'de> Deserialize<'de> for ForgetReason
impl<'de> Deserialize<'de> for ForgetReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ForgetReason
Source§impl Hash for ForgetReason
impl Hash for ForgetReason
Source§impl PartialEq for ForgetReason
impl PartialEq for ForgetReason
Source§impl Serialize for ForgetReason
impl Serialize for ForgetReason
impl StructuralPartialEq for ForgetReason
Auto Trait Implementations§
impl Freeze for ForgetReason
impl RefUnwindSafe for ForgetReason
impl Send for ForgetReason
impl Sync for ForgetReason
impl Unpin for ForgetReason
impl UnsafeUnpin for ForgetReason
impl UnwindSafe for ForgetReason
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