Struct file_header::FileResults
source · pub struct FileResults {
pub no_header_files: Vec<PathBuf>,
pub binary_files: Vec<PathBuf>,
}
Expand description
Aggregated results for recursively checking a directory tree of files.
Fields§
§no_header_files: Vec<PathBuf>
Paths that did not have a header
binary_files: Vec<PathBuf>
Paths that appeared to be binary, not UTF-8 text
Implementations§
source§impl FileResults
impl FileResults
sourcepub fn has_failure(&self) -> bool
pub fn has_failure(&self) -> bool
Returns true
if any files scanned did not have a header
Trait Implementations§
source§impl Clone for FileResults
impl Clone for FileResults
source§fn clone(&self) -> FileResults
fn clone(&self) -> FileResults
Returns a copy 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 moresource§impl Debug for FileResults
impl Debug for FileResults
source§impl Default for FileResults
impl Default for FileResults
source§fn default() -> FileResults
fn default() -> FileResults
Returns the “default value” for a type. Read more
source§impl PartialEq<FileResults> for FileResults
impl PartialEq<FileResults> for FileResults
source§fn eq(&self, other: &FileResults) -> bool
fn eq(&self, other: &FileResults) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FileResults
Auto Trait Implementations§
impl RefUnwindSafe for FileResults
impl Send for FileResults
impl Sync for FileResults
impl Unpin for FileResults
impl UnwindSafe for FileResults
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