pub struct StapleVerdict {
pub verified: bool,
pub checkpoint_index: Option<u64>,
pub checkpoint_public_key: Option<String>,
pub age_secs: Option<u64>,
pub status: StapleStatus,
}Expand description
The outcome of verifying a presentation’s staple (a checkpoint plus this card’s Merkle inclusion proof).
Fields§
§verified: bool§checkpoint_index: Option<u64>The checkpoint index, when a checkpoint was present and parsed.
checkpoint_public_key: Option<String>The checkpoint signer’s public key — surfaced so a caller can suggest
pinning it when the status is SignerNotTrusted.
age_secs: Option<u64>Age of the checkpoint at now_unix, in seconds.
status: StapleStatusAuto Trait Implementations§
impl Freeze for StapleVerdict
impl RefUnwindSafe for StapleVerdict
impl Send for StapleVerdict
impl Sync for StapleVerdict
impl Unpin for StapleVerdict
impl UnsafeUnpin for StapleVerdict
impl UnwindSafe for StapleVerdict
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