pub struct FileReport {
pub path: String,
pub valid: bool,
pub violations: Vec<ReportViolation>,
}Expand description
Per-file section of an aggregate YAML report.
Fields§
§path: StringFile path relative to the lint root.
valid: boolWhether this file had no violations.
violations: Vec<ReportViolation>Violations found in this file.
Trait Implementations§
Source§impl Debug for FileReport
impl Debug for FileReport
Auto Trait Implementations§
impl Freeze for FileReport
impl RefUnwindSafe for FileReport
impl Send for FileReport
impl Sync for FileReport
impl Unpin for FileReport
impl UnsafeUnpin for FileReport
impl UnwindSafe for FileReport
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