pub enum AuditSubjects {
Omit,
Record,
}Expand description
Whether audit entries should include request subject identifiers.
Variants§
Omit
Leave tenant and principal identifiers out of audit entries.
Record
Copy tenant and principal identifiers from the request context.
Trait Implementations§
Source§impl Clone for AuditSubjects
impl Clone for AuditSubjects
Source§fn clone(&self) -> AuditSubjects
fn clone(&self) -> AuditSubjects
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AuditSubjects
Source§impl Debug for AuditSubjects
impl Debug for AuditSubjects
Source§impl Default for AuditSubjects
impl Default for AuditSubjects
Source§fn default() -> AuditSubjects
fn default() -> AuditSubjects
Returns the “default value” for a type. Read more
impl Eq for AuditSubjects
Source§impl PartialEq for AuditSubjects
impl PartialEq for AuditSubjects
Source§fn eq(&self, other: &AuditSubjects) -> bool
fn eq(&self, other: &AuditSubjects) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AuditSubjects
Auto Trait Implementations§
impl Freeze for AuditSubjects
impl RefUnwindSafe for AuditSubjects
impl Send for AuditSubjects
impl Sync for AuditSubjects
impl Unpin for AuditSubjects
impl UnsafeUnpin for AuditSubjects
impl UnwindSafe for AuditSubjects
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