pub struct LintOptions {
pub fail_on_critical: bool,
pub fail_on_warning: bool,
pub filter: LintCategoryFilter,
}Expand description
Lint command options
Fields§
§fail_on_critical: boolExit with error if any critical issues found
fail_on_warning: boolExit with error if any warning or critical issues found
filter: LintCategoryFilterCategory filter (empty = show all)
Trait Implementations§
Source§impl Clone for LintOptions
impl Clone for LintOptions
Source§fn clone(&self) -> LintOptions
fn clone(&self) -> LintOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LintOptions
impl RefUnwindSafe for LintOptions
impl Send for LintOptions
impl Sync for LintOptions
impl Unpin for LintOptions
impl UnsafeUnpin for LintOptions
impl UnwindSafe for LintOptions
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