pub struct GuardConfig {
pub deny_globs: Vec<String>,
pub deny_content: Vec<String>,
}Fields§
§deny_globs: Vec<String>Extra glob patterns (matched against the full local path and the basename) that may never be uploaded. Added to the built-in list.
deny_content: Vec<String>Extra regular expressions that mark content as secret.
Trait Implementations§
Source§impl Clone for GuardConfig
impl Clone for GuardConfig
Source§impl Debug for GuardConfig
impl Debug for GuardConfig
Source§impl Default for GuardConfig
impl Default for GuardConfig
Source§impl<'de> Deserialize<'de> for GuardConfig
impl<'de> Deserialize<'de> for GuardConfig
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 Freeze for GuardConfig
impl RefUnwindSafe for GuardConfig
impl Send for GuardConfig
impl Sync for GuardConfig
impl Unpin for GuardConfig
impl UnsafeUnpin for GuardConfig
impl UnwindSafe for GuardConfig
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