pub struct FormattingSummary {
pub files_checked: usize,
pub error_count: usize,
pub warning_count: usize,
pub info_count: usize,
pub files_with_issues: Vec<PathBuf>,
}Expand description
Summary of all formatting checks
Fields§
§files_checked: usizeTotal number of files checked
error_count: usizeNumber of errors found
warning_count: usizeNumber of warnings found
info_count: usizeNumber of info issues found
files_with_issues: Vec<PathBuf>Files with issues
Trait Implementations§
Source§impl Clone for FormattingSummary
impl Clone for FormattingSummary
Source§fn clone(&self) -> FormattingSummary
fn clone(&self) -> FormattingSummary
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 FormattingSummary
impl RefUnwindSafe for FormattingSummary
impl Send for FormattingSummary
impl Sync for FormattingSummary
impl Unpin for FormattingSummary
impl UnwindSafe for FormattingSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more