#[non_exhaustive]pub struct IntegrityReport {
pub media_status: MediaScanStatus,
pub bytes_verified: u64,
pub bytes_total: Option<u64>,
pub hashes: Option<ComputedHashes>,
pub comparisons: Vec<HashComparison>,
pub findings: Vec<IntegrityFinding>,
pub suppressed_findings: u64,
pub error_count: u64,
pub warning_count: u64,
}Expand description
Bounded integrity findings plus explicit scan coverage.
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.media_status: MediaScanStatusMedia scan coverage.
bytes_verified: u64Successfully validated logical bytes.
bytes_total: Option<u64>Declared logical size, when opening succeeded.
hashes: Option<ComputedHashes>Complete media digests. Never hashes of a stream with omitted or substituted bytes.
comparisons: Vec<HashComparison>Available comparisons; empty if media scanning was incomplete.
findings: Vec<IntegrityFinding>Retained findings in deterministic check and logical-chunk order.
suppressed_findings: u64Number of findings omitted by the caller’s retention limit.
error_count: u64Total error findings, including suppressed findings.
warning_count: u64Total warning findings, including suppressed findings.
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
Source§impl Serialize for IntegrityReport
impl Serialize for IntegrityReport
impl StructuralPartialEq for IntegrityReport
Auto Trait Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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