pub struct AuditLogQuery {
pub page: Option<i64>,
pub per_page: Option<i64>,
pub user_id: Option<Uuid>,
pub organization_id: Option<Uuid>,
pub event_type: Option<String>,
pub success: Option<bool>,
pub start_date: Option<String>,
pub end_date: Option<String>,
}Expand description
Query parameters for audit log filtering
Fields§
§page: Option<i64>Page number (default: 1)
per_page: Option<i64>Items per page (default: 20, max: 100)
user_id: Option<Uuid>Filter by user_id
organization_id: Option<Uuid>Filter by organization_id
event_type: Option<String>Filter by event_type (e.g., “GdprDataExported”)
success: Option<bool>Filter by success status
start_date: Option<String>Filter by start date (ISO 8601)
end_date: Option<String>Filter by end date (ISO 8601)
Trait Implementations§
Source§impl Debug for AuditLogQuery
impl Debug for AuditLogQuery
Source§impl<'de> Deserialize<'de> for AuditLogQuery
impl<'de> Deserialize<'de> for AuditLogQuery
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
Auto Trait Implementations§
impl Freeze for AuditLogQuery
impl RefUnwindSafe for AuditLogQuery
impl Send for AuditLogQuery
impl Sync for AuditLogQuery
impl Unpin for AuditLogQuery
impl UnwindSafe for AuditLogQuery
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.