pub struct AuditQuery { /* private fields */ }Expand description
Audit query builder.
Implementations§
Source§impl AuditQuery
impl AuditQuery
Sourcepub fn event_type(self, event_type: AuditEventType) -> Self
pub fn event_type(self, event_type: AuditEventType) -> Self
Filter by event type.
Sourcepub fn result(self, result: AuditResult) -> Self
pub fn result(self, result: AuditResult) -> Self
Filter by result.
Sourcepub fn build(self) -> StorageQuery
pub fn build(self) -> StorageQuery
Build the storage query.
Trait Implementations§
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> 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