pub trait Presentation: MaybeIdentified {
type Credential: Credential;
type Holder: Identified;
// Provided methods
fn id(&self) -> Option<&Uri> { ... }
fn additional_types(&self) -> &[String] { ... }
fn types(&self) -> PresentationTypes<'_> ⓘ { ... }
fn verifiable_credentials(&self) -> &[Self::Credential] { ... }
fn holders(&self) -> &[Self::Holder] { ... }
}Expand description
Verifiable Presentation.
Required Associated Types§
Sourcetype Credential: Credential
type Credential: Credential
Verifiable credential type.
Sourcetype Holder: Identified
type Holder: Identified
Holder.
Provided Methods§
Sourcefn additional_types(&self) -> &[String]
fn additional_types(&self) -> &[String]
Types, without the VerifiablePresentation type.