#[non_exhaustive]pub enum LinkedPresentation {
Vcdm11(DecodedPresentation),
Vcdm2(DecodedPresentationV2),
}Available on crate feature
linked-vp only.Expand description
A validated linked presentation, in the JSON Web Token form it was published in.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Vcdm11(DecodedPresentation)
A VCDM 1.1 presentation in the vp claim, its credentials as JWTs.
Vcdm2(DecodedPresentationV2)
A VCDM 2.0 presentation secured with VC-JOSE-COSE, its credentials enveloped.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for LinkedPresentation
impl Freeze for LinkedPresentation
impl Move for LinkedPresentation
impl RefUnwindSafe for LinkedPresentation
impl Send for LinkedPresentation
impl Sync for LinkedPresentation
impl Unpin for LinkedPresentation
impl UnsafeUnpin for LinkedPresentation
impl UnwindSafe for LinkedPresentation
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