pub struct ChainLink {
pub issuer: String,
pub subject: String,
pub valid: bool,
pub error: Option<String>,
}Expand description
A single link in a verification chain, representing one attestation’s verification result.
Fields§
§issuer: StringThe issuer DID of this attestation
subject: StringThe subject DID of this attestation
valid: boolWhether this link’s signature is valid
error: Option<String>Error message if verification failed
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChainLink
impl<'de> Deserialize<'de> for ChainLink
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for ChainLink
Auto Trait Implementations§
impl Freeze for ChainLink
impl RefUnwindSafe for ChainLink
impl Send for ChainLink
impl Sync for ChainLink
impl Unpin for ChainLink
impl UnsafeUnpin for ChainLink
impl UnwindSafe for ChainLink
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