pub struct FileResult {
pub path: PathBuf,
pub violations: Vec<Violation>,
pub source_lines: Vec<String>,
}Fields§
§path: PathBuf§violations: Vec<Violation>§source_lines: Vec<String>Source lines (1-indexed by line number) used for snippet display. May be empty if source is not available.
Trait Implementations§
Source§impl Clone for FileResult
impl Clone for FileResult
Source§fn clone(&self) -> FileResult
fn clone(&self) -> FileResult
Returns a duplicate of the value. Read more
1.0.0 · 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 FileResult
impl RefUnwindSafe for FileResult
impl Send for FileResult
impl Sync for FileResult
impl Unpin for FileResult
impl UnsafeUnpin for FileResult
impl UnwindSafe for FileResult
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