pub struct SecretPattern {
pub name: &'static str,
pub pattern: &'static str,
}Expand description
Pattern definition for secret detection.
Fields§
§name: &'static strPattern name (e.g. “aws_access_key”).
pattern: &'static strRegex pattern string.
Auto Trait Implementations§
impl Freeze for SecretPattern
impl RefUnwindSafe for SecretPattern
impl Send for SecretPattern
impl Sync for SecretPattern
impl Unpin for SecretPattern
impl UnsafeUnpin for SecretPattern
impl UnwindSafe for SecretPattern
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