pub struct CheckReport {
pub files: usize,
pub patched: usize,
pub diagnostics: Vec<Diagnostic>,
pub summary: CheckSummary,
}Fields§
§files: usizeEvery file the walk visited, a patched dependency’s included — what it has always
counted, left alone so that a consumer reading it is not moved by patched
arriving beside it.
patched: usizeHow many of files came out of a patch_dir dependency: the project’s committed
copy of somebody else’s package, which a check reads and neither htl fmt nor
htl test touches. Subtract it from files for the project’s own, which is how
the text summary prints the pair: 15 file(s) + 10 in patched dependencies, the
two adding up to files, and the one number alone when this is zero — a project
with no patch reads as it read before the split existed.
diagnostics: Vec<Diagnostic>§summary: CheckSummaryTrait Implementations§
Source§impl Debug for CheckReport
impl Debug for CheckReport
Auto Trait Implementations§
impl Freeze for CheckReport
impl RefUnwindSafe for CheckReport
impl Send for CheckReport
impl Sync for CheckReport
impl Unpin for CheckReport
impl UnsafeUnpin for CheckReport
impl UnwindSafe for CheckReport
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> 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