#[non_exhaustive]pub struct IntegrityReport {
pub outcome: IntegrityOutcome,
pub checks: Vec<ChecksumCheck>,
}Expand description
Full integrity report. IntegrityOutcome::Verified is set only when every
declared checksum was actually checked and matched.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.outcome: IntegrityOutcomeSummary that callers should branch on.
checks: Vec<ChecksumCheck>Per-checksum detail.
Trait Implementations§
Source§impl Clone for IntegrityReport
impl Clone for IntegrityReport
Source§impl Debug for IntegrityReport
impl Debug for IntegrityReport
impl Eq for IntegrityReport
Source§impl PartialEq for IntegrityReport
impl PartialEq for IntegrityReport
impl StructuralPartialEq for IntegrityReport
Auto Trait Implementations§
impl Forget for IntegrityReport
impl Freeze for IntegrityReport
impl RefUnwindSafe for IntegrityReport
impl Send for IntegrityReport
impl Sync for IntegrityReport
impl Unpin for IntegrityReport
impl UnsafeUnpin for IntegrityReport
impl UnwindSafe for IntegrityReport
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