pub struct ScanContext {
pub paths: Vec<PathBuf>,
pub config: Config,
pub verbose: bool,
pub strict: bool,
}Expand description
Context for a scan operation.
Fields§
§paths: Vec<PathBuf>Root paths to scan.
config: ConfigConfiguration for the scan.
verbose: boolWhether to run in verbose mode.
strict: boolWhether to run in strict mode.
Implementations§
Source§impl ScanContext
impl ScanContext
Trait Implementations§
Source§impl Clone for ScanContext
impl Clone for ScanContext
Source§fn clone(&self) -> ScanContext
fn clone(&self) -> ScanContext
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 ScanContext
impl Debug for ScanContext
Auto Trait Implementations§
impl Freeze for ScanContext
impl RefUnwindSafe for ScanContext
impl Send for ScanContext
impl Sync for ScanContext
impl Unpin for ScanContext
impl UnwindSafe for ScanContext
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