pub struct SingleFileReport {
pub spec_commit: String,
pub valid: bool,
pub violations: Vec<ReportViolation>,
}Expand description
Single-file lint report written by --report in file mode.
Fields§
§spec_commit: StringPinned spec commit at time of lint (SPEC_COMMIT).
valid: boolWhether the file had no violations.
violations: Vec<ReportViolation>Violations found.
Trait Implementations§
Source§impl Debug for SingleFileReport
impl Debug for SingleFileReport
Auto Trait Implementations§
impl Freeze for SingleFileReport
impl RefUnwindSafe for SingleFileReport
impl Send for SingleFileReport
impl Sync for SingleFileReport
impl Unpin for SingleFileReport
impl UnsafeUnpin for SingleFileReport
impl UnwindSafe for SingleFileReport
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