pub struct RedactionPolicy {
pub denylist_keys: Vec<String>,
pub redact_bearer_tokens: bool,
pub custom_redactors: Vec<Box<dyn Redactor>>,
}Expand description
Redaction settings applied to log events before sink fan-out.
Fields§
§denylist_keys: Vec<String>Exact field names that must always be redacted.
redact_bearer_tokens: boolWhether bearer-token shaped values should be redacted.
custom_redactors: Vec<Box<dyn Redactor>>Additional caller-supplied redactors.
Trait Implementations§
Source§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
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