pub struct RulesDirScanner { /* private fields */ }Implementations§
Source§impl RulesDirScanner
impl RulesDirScanner
Sourcepub fn with_skip_comments(self, skip: bool) -> Self
pub fn with_skip_comments(self, skip: bool) -> Self
Enables or disables comment skipping during scanning.
Sourcepub fn with_dynamic_rules(self, rules: Vec<DynamicRule>) -> Self
pub fn with_dynamic_rules(self, rules: Vec<DynamicRule>) -> Self
Adds dynamic rules loaded from custom YAML files.
Sourcepub fn with_strict_secrets(self, strict: bool) -> Self
pub fn with_strict_secrets(self, strict: bool) -> Self
Enables or disables strict secrets mode. When enabled, dummy key heuristics are disabled for test files.
Trait Implementations§
Source§impl ContentScanner for RulesDirScanner
impl ContentScanner for RulesDirScanner
Source§impl Default for RulesDirScanner
impl Default for RulesDirScanner
Auto Trait Implementations§
impl Freeze for RulesDirScanner
impl RefUnwindSafe for RulesDirScanner
impl Send for RulesDirScanner
impl Sync for RulesDirScanner
impl Unpin for RulesDirScanner
impl UnwindSafe for RulesDirScanner
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