pub struct RunConfig {
pub difficulty: Difficulty,
pub rule_overrides: HashMap<String, RuleOverride>,
pub ignores: Vec<IgnoreEntry>,
}Expand description
Configuration passed to the runner; controls filtering and output behaviour.
Fields§
§difficulty: DifficultyOnly report diagnostics whose difficulty is ≤ this level.
Default: Hard.
rule_overrides: HashMap<String, RuleOverride>Per-rule severity overrides. Keys are rule IDs; values control whether
the rule is suppressed (Off) or its severity is rewritten.
ignores: Vec<IgnoreEntry>Path-scoped ignore entries. Diagnostics whose path suffix matches and
whose rule appears in rules (or all rules when rules is empty) are
suppressed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunConfig
impl RefUnwindSafe for RunConfig
impl Send for RunConfig
impl Sync for RunConfig
impl Unpin for RunConfig
impl UnsafeUnpin for RunConfig
impl UnwindSafe for RunConfig
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