pub struct DlpConfig {
pub enabled: bool,
pub redact: Vec<String>,
pub max_body_chars: usize,
}Fields§
§enabled: bool§redact: Vec<String>§max_body_chars: usizeTrait Implementations§
Source§impl<'de> Deserialize<'de> for DlpConfig
impl<'de> Deserialize<'de> for DlpConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for DlpConfig
impl Freeze for DlpConfig
impl Move for DlpConfig
impl RefUnwindSafe for DlpConfig
impl Send for DlpConfig
impl Sync for DlpConfig
impl Unpin for DlpConfig
impl UnsafeUnpin for DlpConfig
impl UnwindSafe for DlpConfig
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