pub struct VerifyResult {
pub ok: bool,
pub code: Option<ErrorCode>,
pub level: Option<Level>,
pub hash: Option<String>,
pub key: Option<String>,
pub blob_checked: bool,
pub detail: String,
pub path: String,
}Expand description
The outcome of verify.
Fields§
§ok: boolWhether the receipt verified.
code: Option<ErrorCode>The failure’s code; None when ok.
level: Option<Level>The level reached; None unless ok.
hash: Option<String>The receipt hash, once the receipt was canonical enough to compute it.
key: Option<String>computed_by, once known.
blob_checked: boolWhether step 7.7 ran and passed.
detail: StringA human explanation of the failure; empty when ok.
path: StringWhere the failure was found; empty when ok.
Implementations§
Trait Implementations§
Source§impl Clone for VerifyResult
impl Clone for VerifyResult
Source§impl Debug for VerifyResult
impl Debug for VerifyResult
impl Eq 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