pub struct LintReport {
pub violations: Vec<Violation>,
pub valid: bool,
}Expand description
Result of linting one rule file’s content.
Fields§
§violations: Vec<Violation>All violations found in the content.
valid: booltrue when violations is empty.
Trait Implementations§
Source§impl Clone for LintReport
impl Clone for LintReport
Source§fn clone(&self) -> LintReport
fn clone(&self) -> LintReport
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 LintReport
impl RefUnwindSafe for LintReport
impl Send for LintReport
impl Sync for LintReport
impl Unpin for LintReport
impl UnsafeUnpin for LintReport
impl UnwindSafe for LintReport
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