pub struct CredentialStatus {
pub id: String,
pub status_type: String,
pub status_list_index: Option<String>,
pub status_list_credential: Option<String>,
}Expand description
Credential status descriptor for revocation checking.
Fields§
§id: StringURL to check revocation status.
status_type: StringStatus method type. Per W3C Bitstring Status List v1.0 this is
"BitstringStatusListEntry" (the older "StatusList2021Entry" is dated).
status_list_index: Option<String>Index in the status list.
status_list_credential: Option<String>URL of the status list credential.
Trait Implementations§
Source§impl Clone for CredentialStatus
impl Clone for CredentialStatus
Source§fn clone(&self) -> CredentialStatus
fn clone(&self) -> CredentialStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CredentialStatus
impl Debug for CredentialStatus
Source§impl<'de> Deserialize<'de> for CredentialStatus
impl<'de> Deserialize<'de> for CredentialStatus
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
Source§impl PartialEq for CredentialStatus
impl PartialEq for CredentialStatus
Source§fn eq(&self, other: &CredentialStatus) -> bool
fn eq(&self, other: &CredentialStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CredentialStatus
impl Serialize for CredentialStatus
impl StructuralPartialEq for CredentialStatus
Auto Trait Implementations§
impl Freeze for CredentialStatus
impl RefUnwindSafe for CredentialStatus
impl Send for CredentialStatus
impl Sync for CredentialStatus
impl Unpin for CredentialStatus
impl UnsafeUnpin for CredentialStatus
impl UnwindSafe for CredentialStatus
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