pub struct SearchAuditParams<'a> {
pub user_id: Option<UserId>,
pub event_type: Option<&'a AuditEvent>,
pub is_success: Option<bool>,
pub from: Option<DateTime<Utc>>,
pub to: Option<DateTime<Utc>>,
pub limit: u32,
pub offset: u32,
}Expand description
Parameters for searching/filtering audit log entries.
Fields§
§user_id: Option<UserId>§event_type: Option<&'a AuditEvent>§is_success: Option<bool>§from: Option<DateTime<Utc>>§to: Option<DateTime<Utc>>§limit: u32§offset: u32Auto Trait Implementations§
impl<'a> Freeze for SearchAuditParams<'a>
impl<'a> RefUnwindSafe for SearchAuditParams<'a>
impl<'a> Send for SearchAuditParams<'a>
impl<'a> Sync for SearchAuditParams<'a>
impl<'a> Unpin for SearchAuditParams<'a>
impl<'a> UnsafeUnpin for SearchAuditParams<'a>
impl<'a> UnwindSafe for SearchAuditParams<'a>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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 more