pub struct ScanConfig {
pub extensions: Vec<String>,
pub include_dirs: Vec<PathBuf>,
pub exclude_dirs: Vec<PathBuf>,
pub exclude_patterns: Vec<String>,
pub max_file_size: Option<usize>,
pub follow_symlinks: bool,
}Expand description
Configuration for class scanning
Fields§
§extensions: Vec<String>File extensions to scan
include_dirs: Vec<PathBuf>Directories to include
exclude_dirs: Vec<PathBuf>Directories to exclude
exclude_patterns: Vec<String>File patterns to exclude
max_file_size: Option<usize>Maximum file size to scan (in bytes)
follow_symlinks: boolWhether to follow symbolic links
Trait Implementations§
Source§impl Clone for ScanConfig
impl Clone for ScanConfig
Source§fn clone(&self) -> ScanConfig
fn clone(&self) -> ScanConfig
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 ScanConfig
impl Debug for ScanConfig
Auto Trait Implementations§
impl Freeze for ScanConfig
impl RefUnwindSafe for ScanConfig
impl Send for ScanConfig
impl Sync for ScanConfig
impl Unpin for ScanConfig
impl UnwindSafe for ScanConfig
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