pub struct Config {Show 15 fields
pub baseline: Option<PathBuf>,
pub config_file: Option<PathBuf>,
pub fix: bool,
pub write_baseline: bool,
pub manifest_license: Option<String>,
pub workspace_dependencies: Option<Vec<ManifestDependency>>,
pub manifest_path: Option<PathBuf>,
pub max_files_per_directory: Option<usize>,
pub max_subfolders_per_directory: Option<usize>,
pub packages: Vec<String>,
pub excludes: Vec<String>,
pub expected_header: Vec<String>,
pub format: OutputFormat,
pub offence_threshold: OffenceThreshold,
pub selection: RuleSelection,
}Fields§
§baseline: Option<PathBuf>§config_file: Option<PathBuf>§fix: bool§write_baseline: bool§manifest_license: Option<String>§workspace_dependencies: Option<Vec<ManifestDependency>>§manifest_path: Option<PathBuf>§max_files_per_directory: Option<usize>§max_subfolders_per_directory: Option<usize>§packages: Vec<String>§excludes: Vec<String>§expected_header: Vec<String>§format: OutputFormat§offence_threshold: OffenceThreshold§selection: RuleSelectionTrait Implementations§
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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