pub struct DidWebvhVerifyOutcome {
pub result: VerifyResult,
pub chain_reason: Option<String>,
pub log: Result<String, DidWebvhError>,
pub grant_logs: BTreeMap<String, Result<String, DidWebvhError>>,
}Expand description
The outcome of verify_with_did_webvh_log.
Fields§
§result: VerifyResultThe verdict, as verify_with_keys gives it.
chain_reason: Option<String>Why the delegation chain was refused, when it was.
log: Result<String, DidWebvhError>The issuer’s log: its latest versionId (remember it as the version seen for this DID), or why it was refused (then the proof is not valid).
grant_logs: BTreeMap<String, Result<String, DidWebvhError>>The logs of the grant issuers the delegation chain needed, by DID, as
crate::did_webvh::LogSet::outcomes reports them (the issuer’s own
log is in log).
Trait Implementations§
Source§impl Clone for DidWebvhVerifyOutcome
impl Clone for DidWebvhVerifyOutcome
Source§impl Debug for DidWebvhVerifyOutcome
impl Debug for DidWebvhVerifyOutcome
impl Eq for DidWebvhVerifyOutcome
Source§impl PartialEq for DidWebvhVerifyOutcome
impl PartialEq for DidWebvhVerifyOutcome
impl StructuralPartialEq for DidWebvhVerifyOutcome
Auto Trait Implementations§
impl Forget for DidWebvhVerifyOutcome
impl Freeze for DidWebvhVerifyOutcomewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
&'static str: Freeze,
*const LeafNode<String, Result<String, DidWebvhError>> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Result<String, DidWebvhError>)>>: Freeze,
impl Move for DidWebvhVerifyOutcome
impl RefUnwindSafe for DidWebvhVerifyOutcome
impl Send for DidWebvhVerifyOutcome
impl Sync for DidWebvhVerifyOutcome
impl Unpin for DidWebvhVerifyOutcome
impl UnsafeUnpin for DidWebvhVerifyOutcomewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
&'static str: UnsafeUnpin,
*const LeafNode<String, Result<String, DidWebvhError>> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Result<String, DidWebvhError>)>>: UnsafeUnpin,
impl UnwindSafe for DidWebvhVerifyOutcomewhere
RawVecInner: UnwindSafe,
&'static str: UnwindSafe,
BTreeMap<String, Result<String, DidWebvhError>>: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.