pub struct VerifyResult {
pub intact: bool,
pub decoded: Vec<u8>,
pub fingerprint: String,
}Expand description
The result of a verification operation.
Contains the decoded bytes, their fingerprint, and whether the data passed integrity checks.
Fields§
§intact: booltrue if the fingerprint matched the original.
decoded: Vec<u8>The decoded raw bytes.
fingerprint: StringSHA-256 fingerprint of the decoded data.
Trait Implementations§
Source§impl Clone for VerifyResult
impl Clone for VerifyResult
Source§fn clone(&self) -> VerifyResult
fn clone(&self) -> VerifyResult
Returns a duplicate of the value. Read more
1.0.0 · 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 VerifyResult
impl Debug for VerifyResult
Source§impl Display for VerifyResult
impl Display for VerifyResult
Source§impl PartialEq for VerifyResult
impl PartialEq for VerifyResult
impl StructuralPartialEq for VerifyResult
Auto Trait Implementations§
impl Freeze for VerifyResult
impl RefUnwindSafe for VerifyResult
impl Send for VerifyResult
impl Sync for VerifyResult
impl Unpin for VerifyResult
impl UnsafeUnpin for VerifyResult
impl UnwindSafe for VerifyResult
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