pub enum RedactionPolicy {
None,
Conservative,
Aggressive,
}Expand description
Redaction policy for sensitive fields in audit logs
Variants§
None
No redaction - log everything
Conservative
Conservative redaction - redact passwords, tokens, etc.
Aggressive
Aggressive redaction - redact most user-related data
Trait Implementations§
Source§impl Clone for RedactionPolicy
impl Clone for RedactionPolicy
Source§fn clone(&self) -> RedactionPolicy
fn clone(&self) -> RedactionPolicy
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 RedactionPolicy
impl Debug for RedactionPolicy
Source§impl Default for RedactionPolicy
impl Default for RedactionPolicy
Source§fn default() -> RedactionPolicy
fn default() -> RedactionPolicy
Returns the “default value” for a type. Read more
impl Copy for RedactionPolicy
Auto Trait Implementations§
impl Freeze for RedactionPolicy
impl RefUnwindSafe for RedactionPolicy
impl Send for RedactionPolicy
impl Sync for RedactionPolicy
impl Unpin for RedactionPolicy
impl UnsafeUnpin for RedactionPolicy
impl UnwindSafe for RedactionPolicy
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