pub struct list_audit_logs;Expand description
GET /api/v1/admin/gdpr/audit-logs List audit logs with pagination and filters (SuperAdmin only)
§Query Parameters
- page: Page number (default: 1)
- per_page: Items per page (default: 20, max: 100)
- user_id: Filter by user UUID
- organization_id: Filter by organization UUID
- event_type: Filter by event type (e.g., “GdprDataExported”)
- success: Filter by success status (true/false)
- start_date: Filter by start date (ISO 8601)
- end_date: Filter by end date (ISO 8601)
§Returns
200 OK- Paginated audit logs401 Unauthorized- Missing or invalid authentication403 Forbidden- User is not SuperAdmin500 Internal Server Error- Database error
Trait Implementations§
Auto Trait Implementations§
impl Freeze for list_audit_logs
impl RefUnwindSafe for list_audit_logs
impl Send for list_audit_logs
impl Sync for list_audit_logs
impl Unpin for list_audit_logs
impl UnwindSafe for list_audit_logs
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.