pub struct Findings {
pub file: PathBuf,
pub valid: bool,
pub mime: Mime,
}
Expand description
Information about a successfully scanned file.
Fields§
§file: PathBuf
The location of the scanned file.
valid: bool
Whether or not the file’s extension is valid for its MIME type.
mime: Mime
The file’s MIME type.
Implementations§
Trait Implementations§
source§impl Ord for Findings
impl Ord for Findings
source§impl PartialEq for Findings
impl PartialEq for Findings
source§impl PartialOrd for Findings
impl PartialOrd for Findings
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Findings
impl StructuralEq for Findings
impl StructuralPartialEq for Findings
Auto Trait Implementations§
impl RefUnwindSafe for Findings
impl Send for Findings
impl Sync for Findings
impl Unpin for Findings
impl UnwindSafe for Findings
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