pub struct Verification {
pub bytes_verified: u64,
pub md5: String,
pub sha1: String,
pub sha256: String,
pub sha512: String,
pub blake2b: String,
pub references_match: Option<bool>,
pub unsupported_hashes: Vec<String>,
}Expand description
Selected-stream linear digest results. Unsupported references are explicit.
Fields§
§bytes_verified: u64Number of logical bytes read.
md5: StringComputed hexadecimal MD5.
sha1: StringComputed hexadecimal SHA1.
sha256: StringComputed hexadecimal SHA256.
sha512: StringComputed hexadecimal SHA512.
blake2b: StringComputed hexadecimal BLAKE2b-512.
references_match: Option<bool>Available supported linear references all match; None means none exist.
unsupported_hashes: Vec<String>Datatypes of stored hashes not verified, including block-map hashes.
Trait Implementations§
Source§impl Clone for Verification
impl Clone for Verification
Source§impl Debug for Verification
impl Debug for Verification
Auto Trait Implementations§
impl Freeze for Verification
impl RefUnwindSafe for Verification
impl Send for Verification
impl Sync for Verification
impl Unpin for Verification
impl UnsafeUnpin for Verification
impl UnwindSafe for Verification
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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