pub struct admin_erase_user_data;Expand description
DELETE /api/v1/admin/gdpr/users/:id/erase Erase user data as SuperAdmin (for compliance requests or account cleanup)
§Returns
200 OK- JSON confirmation of successful anonymization401 Unauthorized- Missing or invalid authentication403 Forbidden- User is not SuperAdmin404 Not Found- User not found409 Conflict- Legal holds prevent erasure410 Gone- User already anonymized500 Internal Server Error- Database error
Trait Implementations§
Auto Trait Implementations§
impl Freeze for admin_erase_user_data
impl RefUnwindSafe for admin_erase_user_data
impl Send for admin_erase_user_data
impl Sync for admin_erase_user_data
impl Unpin for admin_erase_user_data
impl UnwindSafe for admin_erase_user_data
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
§impl<T> Chain<T> for T
impl<T> Chain<T> for T
§impl<T> Fake for T
impl<T> Fake for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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 moreCreates a shared type from an unshared type.