pub struct VmdkDigest {
pub sha256: String,
pub md5: String,
}Expand description
SHA-256 and MD5 hash of the full virtual disk contents.
Produced by VmdkReader::hash. Both digests are computed in a single
sequential pass over the virtual disk.
Fields§
§sha256: StringSHA-256 digest (32 bytes), hex-encoded.
md5: StringMD5 digest (16 bytes), hex-encoded.
Trait Implementations§
Source§impl Clone for VmdkDigest
impl Clone for VmdkDigest
Source§fn clone(&self) -> VmdkDigest
fn clone(&self) -> VmdkDigest
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 VmdkDigest
impl Debug for VmdkDigest
impl Eq for VmdkDigest
Source§impl PartialEq for VmdkDigest
impl PartialEq for VmdkDigest
Source§fn eq(&self, other: &VmdkDigest) -> bool
fn eq(&self, other: &VmdkDigest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VmdkDigest
Auto Trait Implementations§
impl Freeze for VmdkDigest
impl RefUnwindSafe for VmdkDigest
impl Send for VmdkDigest
impl Sync for VmdkDigest
impl Unpin for VmdkDigest
impl UnsafeUnpin for VmdkDigest
impl UnwindSafe for VmdkDigest
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