pub struct RevocationListCredential {
pub context: Vec<String>,
pub id: String,
pub type: Vec<String>,
pub issuer: String,
pub issued: String,
pub credential_subject: RevocationListCredentialSubject,
pub proof: AssertionProof,
}Expand description
A revocation list credential associating verifiable credential revocation IDs to their revocation status as a bit list. See https://w3c-ccg.github.io/vc-status-rl-2020/#revocationlist2020credential
Fields§
§context: Vec<String>§id: String§type: Vec<String>§issuer: String§issued: String§credential_subject: RevocationListCredentialSubject§proof: AssertionProofImplementations§
Source§impl RevocationListCredential
impl RevocationListCredential
pub fn new( list: UnproofedRevocationListCredential, proof: AssertionProof, ) -> RevocationListCredential
Trait Implementations§
Source§impl Clone for RevocationListCredential
impl Clone for RevocationListCredential
Source§fn clone(&self) -> RevocationListCredential
fn clone(&self) -> RevocationListCredential
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for RevocationListCredential
impl<'de> Deserialize<'de> for RevocationListCredential
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
Auto Trait Implementations§
impl Freeze for RevocationListCredential
impl RefUnwindSafe for RevocationListCredential
impl Send for RevocationListCredential
impl Sync for RevocationListCredential
impl Unpin for RevocationListCredential
impl UnwindSafe for RevocationListCredential
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
Source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from.