pub struct GitleaksConfig {
pub title: Option<String>,
pub allowlist: Option<Allowlist>,
pub rules: Vec<Rule>,
}Fields§
§title: Option<String>§allowlist: Option<Allowlist>§rules: Vec<Rule>Trait Implementations§
Source§impl Clone for GitleaksConfig
impl Clone for GitleaksConfig
Source§fn clone(&self) -> GitleaksConfig
fn clone(&self) -> GitleaksConfig
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 GitleaksConfig
impl Debug for GitleaksConfig
Source§impl<'de> Deserialize<'de> for GitleaksConfig
impl<'de> Deserialize<'de> for GitleaksConfig
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
Source§impl RegexCompilable for GitleaksConfig
impl RegexCompilable for GitleaksConfig
fn compile_regexes(&mut self) -> CompilationErrors
Auto Trait Implementations§
impl Freeze for GitleaksConfig
impl RefUnwindSafe for GitleaksConfig
impl Send for GitleaksConfig
impl Sync for GitleaksConfig
impl Unpin for GitleaksConfig
impl UnwindSafe for GitleaksConfig
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