pub struct DiscoveryConfig {
pub root_paths: Vec<PathBuf>,
pub include_globs: Vec<String>,
pub exclude_globs: Vec<String>,
pub excluded_directories: Vec<String>,
pub honor_ignore_files: bool,
pub ignore_hidden_files: bool,
pub follow_symlinks: bool,
pub max_file_size_bytes: u64,
pub parallelism_limit: Option<usize>,
pub submodule_breakdown: bool,
pub allowed_scan_roots: Vec<PathBuf>,
}Fields§
§root_paths: Vec<PathBuf>§include_globs: Vec<String>§exclude_globs: Vec<String>§excluded_directories: Vec<String>§honor_ignore_files: bool§follow_symlinks: bool§max_file_size_bytes: u64§parallelism_limit: Option<usize>§submodule_breakdown: boolWhen true, detect .gitmodules and produce a per-submodule summary alongside the overall run.
allowed_scan_roots: Vec<PathBuf>Trait Implementations§
Source§impl Clone for DiscoveryConfig
impl Clone for DiscoveryConfig
Source§fn clone(&self) -> DiscoveryConfig
fn clone(&self) -> DiscoveryConfig
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 DiscoveryConfig
impl Debug for DiscoveryConfig
Source§impl Default for DiscoveryConfig
impl Default for DiscoveryConfig
Source§impl<'de> Deserialize<'de> for DiscoveryConfig
impl<'de> Deserialize<'de> for DiscoveryConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DiscoveryConfig
impl RefUnwindSafe for DiscoveryConfig
impl Send for DiscoveryConfig
impl Sync for DiscoveryConfig
impl Unpin for DiscoveryConfig
impl UnsafeUnpin for DiscoveryConfig
impl UnwindSafe for DiscoveryConfig
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