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