#[non_exhaustive]#[repr(u8)]pub enum GdprStatus {
Active = 0,
ErasurePending = 1,
Erased = 2,
}Expand description
GDPR lifecycle state. Transition to ErasurePending blocks all
actor-originated Actions on the user (compute MC gate, contract #5).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Active = 0
Normal state — user can operate.
ErasurePending = 1
Scheduled for crypto-erasure; cascade observer completes soon.
Erased = 2
Crypto-erasure completed — DEK shredded, no content recoverable.
Trait Implementations§
Source§impl Clone for GdprStatus
impl Clone for GdprStatus
Source§fn clone(&self) -> GdprStatus
fn clone(&self) -> GdprStatus
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 moreSource§impl Debug for GdprStatus
impl Debug for GdprStatus
Source§impl<'de> Deserialize<'de> for GdprStatus
impl<'de> Deserialize<'de> for GdprStatus
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
Source§impl PartialEq for GdprStatus
impl PartialEq for GdprStatus
Source§fn eq(&self, other: &GdprStatus) -> bool
fn eq(&self, other: &GdprStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GdprStatus
impl Serialize for GdprStatus
impl Copy for GdprStatus
impl Eq for GdprStatus
impl StructuralPartialEq for GdprStatus
Auto Trait Implementations§
impl Freeze for GdprStatus
impl RefUnwindSafe for GdprStatus
impl Send for GdprStatus
impl Sync for GdprStatus
impl Unpin for GdprStatus
impl UnsafeUnpin for GdprStatus
impl UnwindSafe for GdprStatus
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