pub struct AuditQuery {
pub event_types: Vec<AuditEventType>,
pub min_severity: Option<AuditSeverity>,
pub user_id: Option<String>,
pub resource: Option<String>,
pub result: Option<ActionResult>,
pub start_time: Option<DateTime<Utc>>,
pub end_time: Option<DateTime<Utc>>,
pub limit: Option<usize>,
}Expand description
Audit query filter
Fields§
§event_types: Vec<AuditEventType>Filter by event type
min_severity: Option<AuditSeverity>Filter by severity
user_id: Option<String>Filter by user ID
resource: Option<String>Filter by resource
result: Option<ActionResult>Filter by result
start_time: Option<DateTime<Utc>>Start time for query range
end_time: Option<DateTime<Utc>>End time for query range
limit: Option<usize>Maximum number of results
Trait Implementations§
Source§impl Clone for AuditQuery
impl Clone for AuditQuery
Source§fn clone(&self) -> AuditQuery
fn clone(&self) -> AuditQuery
Returns a duplicate of the value. Read more
1.0.0 · 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 AuditQuery
impl Debug for AuditQuery
Source§impl Default for AuditQuery
impl Default for AuditQuery
Source§fn default() -> AuditQuery
fn default() -> AuditQuery
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AuditQuery
impl RefUnwindSafe for AuditQuery
impl Send for AuditQuery
impl Sync for AuditQuery
impl Unpin for AuditQuery
impl UnsafeUnpin for AuditQuery
impl UnwindSafe for AuditQuery
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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