pub struct GdprEraseUser {
pub schema_version: u16,
pub user: UserId,
}Expand description
Request GDPR crypto-erasure for an existing User. Lease — actual cascade runs via the erasure-cascade observer with p95 < 24h SLA.
Fields§
§schema_version: u16Wire-level schema version tag.
user: UserIdTarget User.
Trait Implementations§
Source§impl ActionCompute for GdprEraseUser
impl ActionCompute for GdprEraseUser
Source§impl ActionCompute for GdprEraseUser
impl ActionCompute for GdprEraseUser
Source§fn compute<'i>(&self, ctx: &mut ActionContext<'i>) -> Result<(), ActionError>
fn compute<'i>(&self, ctx: &mut ActionContext<'i>) -> Result<(), ActionError>
Run the compute body. Emit events via
ctx.emit_event, derive new
ids via ctx.next_id, and return Err(ActionError::...) to reject.Source§impl ActionDeriv for GdprEraseUser
impl ActionDeriv for GdprEraseUser
Source§impl ArkheAction for GdprEraseUser
impl ArkheAction for GdprEraseUser
Source§const SCHEMA_VERSION: u16 = 1u16
const SCHEMA_VERSION: u16 = 1u16
Monotone schema version — bump rules identical to
ArkheComponent.Source§const IDEMPOTENT: bool = false
const IDEMPOTENT: bool = false
Opt-in idempotency flag.
true iff the deriving struct carries an
idempotency_key: Option<[u8; 16]> field (validated at derive time).
false by default — non-idempotent Actions are still legal.Source§impl Clone for GdprEraseUser
impl Clone for GdprEraseUser
Source§fn clone(&self) -> GdprEraseUser
fn clone(&self) -> GdprEraseUser
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 GdprEraseUser
impl Debug for GdprEraseUser
Source§impl<'de> Deserialize<'de> for GdprEraseUser
impl<'de> Deserialize<'de> for GdprEraseUser
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 GdprEraseUser
impl PartialEq for GdprEraseUser
Source§fn eq(&self, other: &GdprEraseUser) -> bool
fn eq(&self, other: &GdprEraseUser) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GdprEraseUser
impl Serialize for GdprEraseUser
impl Eq for GdprEraseUser
impl Sealed for GdprEraseUser
impl StructuralPartialEq for GdprEraseUser
Auto Trait Implementations§
impl Freeze for GdprEraseUser
impl RefUnwindSafe for GdprEraseUser
impl Send for GdprEraseUser
impl Sync for GdprEraseUser
impl Unpin for GdprEraseUser
impl UnsafeUnpin for GdprEraseUser
impl UnwindSafe for GdprEraseUser
Blanket Implementations§
Source§impl<T> Action for Twhere
T: ActionDeriv + ActionCompute,
impl<T> Action for Twhere
T: ActionDeriv + ActionCompute,
Source§fn canonical_bytes(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn canonical_bytes(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Postcard-canonical byte encoding. See
Component::canonical_bytes for the contract; identical
shape applies here.Source§fn from_bytes(version: u32, bytes: &[u8]) -> Result<Box<Self>, DeserializeError>where
Self: Sized,
fn from_bytes(version: u32, bytes: &[u8]) -> Result<Box<Self>, DeserializeError>where
Self: Sized,
Inverse of
canonical_bytes.
SchemaVersionMismatch on unequal version.Source§fn approx_size(&self) -> usizewhere
Self: Sized,
fn approx_size(&self) -> usizewhere
Self: Sized,
Approximate byte size — defaults to encoded length.
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