pub struct RedactOpts {
pub strip_network_body: bool,
pub strip_network_headers: bool,
pub drop_network: bool,
pub drop_console: bool,
pub scrubbers: Vec<Regex>,
}Expand description
编译后的脱敏选项(scrubbers 已编译为 Regex,运行时零解析成本)。
Fields§
§strip_network_body: bool§strip_network_headers: bool§drop_network: bool§drop_console: bool§scrubbers: Vec<Regex>Trait Implementations§
Auto Trait Implementations§
impl Freeze for RedactOpts
impl RefUnwindSafe for RedactOpts
impl Send for RedactOpts
impl Sync for RedactOpts
impl Unpin for RedactOpts
impl UnsafeUnpin for RedactOpts
impl UnwindSafe for RedactOpts
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