pub struct FileOutcome {
pub path: PathBuf,
pub display_path: String,
pub config_source: ConfigOrigin,
pub kind: OutcomeKind,
}Expand description
The result of checking a single file.
Fields§
§path: PathBufAbsolute path to the file.
display_path: StringPath relative to working directory for display.
config_source: ConfigOriginWhich config was used for this file.
kind: OutcomeKindWhat happened when checking the file.
Trait Implementations§
Source§impl Clone for FileOutcome
impl Clone for FileOutcome
Source§fn clone(&self) -> FileOutcome
fn clone(&self) -> FileOutcome
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 FileOutcome
impl RefUnwindSafe for FileOutcome
impl Send for FileOutcome
impl Sync for FileOutcome
impl Unpin for FileOutcome
impl UnsafeUnpin for FileOutcome
impl UnwindSafe for FileOutcome
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