pub enum Scanner {
Gitleaks,
Trufflehog,
}Expand description
A secret scanner the generated hook can drive.
Variants§
Gitleaks
gitleaks (default) — https://github.com/gitleaks/gitleaks.
Trufflehog
trufflehog — https://github.com/trufflesecurity/trufflehog.
Implementations§
Trait Implementations§
impl Copy for Scanner
impl Eq for Scanner
impl StructuralPartialEq for Scanner
Auto Trait Implementations§
impl Freeze for Scanner
impl RefUnwindSafe for Scanner
impl Send for Scanner
impl Sync for Scanner
impl Unpin for Scanner
impl UnsafeUnpin for Scanner
impl UnwindSafe for Scanner
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