pub struct InvariantReport {
pub files_total: usize,
pub applier_total: usize,
pub applier_ok: usize,
pub applier_mismatches: Vec<String>,
pub binary_oid_checked: usize,
pub hunks_total: usize,
pub accounting_ok: bool,
pub built_tree: Option<String>,
pub head_tree: String,
pub tree_ok: bool,
pub recount: usize,
pub recount_ok: bool,
}Fields§
§files_total: usize§applier_total: usizeText files (non-binary, non-submodule) checked byte-exactly.
applier_ok: usize§applier_mismatches: Vec<String>§binary_oid_checked: usizeBinary files verified by oid instead of by reconstruction.
hunks_total: usize§accounting_ok: bool§built_tree: Option<String>§head_tree: String§tree_ok: bool§recount: usize§recount_ok: boolImplementations§
Trait Implementations§
Source§impl Clone for InvariantReport
impl Clone for InvariantReport
Source§fn clone(&self) -> InvariantReport
fn clone(&self) -> InvariantReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InvariantReport
impl Debug for InvariantReport
Source§impl Display for InvariantReport
impl Display for InvariantReport
Source§fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn fmt(&self, f: &mut Formatter<'_>) -> Result
The human form of the report: totals and invariants 1-4, one per line.
Formatting, not printing — the engine still writes nothing. The
endpoints are deliberately absent: they are not part of the report (nor
of --json), so a caller that wants a range header prints its own.
Auto Trait Implementations§
impl Freeze for InvariantReport
impl RefUnwindSafe for InvariantReport
impl Send for InvariantReport
impl Sync for InvariantReport
impl Unpin for InvariantReport
impl UnsafeUnpin for InvariantReport
impl UnwindSafe for InvariantReport
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