pub struct IdentityChainResult {
pub ok: bool,
pub reason: Option<String>,
pub agent_did: Option<String>,
pub issuer_did: Option<String>,
pub root_did: Option<String>,
pub attributes: Option<Value>,
}Expand description
Outcome of verify_identity_chain.
ok is true only if every link verified and anchored to the pinned root.
On failure reason carries a structured code matching the Python reference.
Fields§
§ok: bool§reason: Option<String>§agent_did: Option<String>§issuer_did: Option<String>§root_did: Option<String>§attributes: Option<Value>Trait Implementations§
Source§impl Clone for IdentityChainResult
impl Clone for IdentityChainResult
Source§impl Debug for IdentityChainResult
impl Debug for IdentityChainResult
impl Eq for IdentityChainResult
Source§impl PartialEq for IdentityChainResult
impl PartialEq for IdentityChainResult
impl StructuralPartialEq for IdentityChainResult
Auto Trait Implementations§
impl Forget for IdentityChainResult
impl Freeze for IdentityChainResultwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
impl Move for IdentityChainResult
impl RefUnwindSafe for IdentityChainResult
impl Send for IdentityChainResult
impl Sync for IdentityChainResult
impl Unpin for IdentityChainResult
impl UnsafeUnpin for IdentityChainResultwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
impl UnwindSafe for IdentityChainResult
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.