pub struct ScanOptions {
pub recursive: bool,
pub issues_only: bool,
pub strict: bool,
pub file_filter: FileFilter,
pub one_filesystem: bool,
}Expand description
Configuration options for directory scanning
Fields§
§recursive: boolEnable recursive directory traversal
issues_only: boolOnly return files with security issues
strict: boolEnable strict mode (affects error handling)
file_filter: FileFilterFile type filter for scanning
one_filesystem: boolStay within single filesystem (Unix-like systems only)
Trait Implementations§
Source§impl Clone for ScanOptions
impl Clone for ScanOptions
Source§fn clone(&self) -> ScanOptions
fn clone(&self) -> ScanOptions
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 ScanOptions
impl Debug for ScanOptions
Auto Trait Implementations§
impl Freeze for ScanOptions
impl RefUnwindSafe for ScanOptions
impl Send for ScanOptions
impl Sync for ScanOptions
impl Unpin for ScanOptions
impl UnsafeUnpin for ScanOptions
impl UnwindSafe for ScanOptions
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