#[non_exhaustive]pub struct DecodedLinkedPresentation {
pub header: JwsHeader,
pub claims: JwtClaims,
pub presentation: Presentation,
pub credentials: Vec<Result<DecodedCredential, ValidationError>>,
}Available on crate feature
linked-vp only.Expand description
A linked presentation decoded without verification: the presentation, and each entry of
its verifiableCredential decoded on its own.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.header: JwsHeaderThe JWS header.
claims: JwtClaimsThe claims set, vp included.
presentation: PresentationThe presentation, with iss and jti mapped back into it. Its
verifiable_credential holds the entries that are compact JWTs.
credentials: Vec<Result<DecodedCredential, ValidationError>>One result per entry of verifiableCredential, in order: the credential decoded, or why
that entry is not one.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DecodedLinkedPresentation
impl !UnwindSafe for DecodedLinkedPresentation
impl Freeze for DecodedLinkedPresentation
impl Send for DecodedLinkedPresentation
impl Sync for DecodedLinkedPresentation
impl Unpin for DecodedLinkedPresentation
impl UnsafeUnpin for DecodedLinkedPresentation
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