pub struct SecretScanningSettings {
pub custom_patterns: Vec<CustomPattern>,
pub gitleaks_config: Option<String>,
}Expand description
Secret scanning configuration.
Fields§
§custom_patterns: Vec<CustomPattern>Custom regex patterns to scan for leaked secrets.
gitleaks_config: Option<String>Path to a gitleaks-format TOML config file for additional rules.
Trait Implementations§
Source§impl Clone for SecretScanningSettings
impl Clone for SecretScanningSettings
Source§fn clone(&self) -> SecretScanningSettings
fn clone(&self) -> SecretScanningSettings
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 SecretScanningSettings
impl Debug for SecretScanningSettings
Source§impl Default for SecretScanningSettings
impl Default for SecretScanningSettings
Source§fn default() -> SecretScanningSettings
fn default() -> SecretScanningSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecretScanningSettings
impl<'de> Deserialize<'de> for SecretScanningSettings
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 SecretScanningSettings
impl RefUnwindSafe for SecretScanningSettings
impl Send for SecretScanningSettings
impl Sync for SecretScanningSettings
impl Unpin for SecretScanningSettings
impl UnsafeUnpin for SecretScanningSettings
impl UnwindSafe for SecretScanningSettings
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