pub struct MetadataVerification {
pub sha256: String,
pub checks: Vec<IntegrityCheck>,
}Expand description
Metadata checks, separate from file content verification and authenticity.
Fields§
§sha256: StringSHA256 of information.turtle, suitable for an external evidence record.
checks: Vec<IntegrityCheck>All available internal and optional external comparisons.
Implementations§
Trait Implementations§
Source§impl Clone for MetadataVerification
impl Clone for MetadataVerification
Source§impl Debug for MetadataVerification
impl Debug for MetadataVerification
Auto Trait Implementations§
impl Freeze for MetadataVerification
impl RefUnwindSafe for MetadataVerification
impl Send for MetadataVerification
impl Sync for MetadataVerification
impl Unpin for MetadataVerification
impl UnsafeUnpin for MetadataVerification
impl UnwindSafe for MetadataVerification
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