#[non_exhaustive]pub enum DTGCredentialType {
Membership,
Relationship,
Invitation,
Persona,
Endorsement,
Witness,
RCard,
}Expand description
TDG VC Type Identifiers
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.
Membership
Relationship
Invitation
Persona
Endorsement
Witness
RCard
👎Deprecated since 0.2.0:
The r-card is a verifiable data structure (VDS), not a DTGCredential subtype. It was removed from the DTG Core Credentials specification in Working Draft 01 and will be defined by the planned DTG Verifiable Data Structures specification. This variant will be removed in a future release.
R-Card is no longer a DTG credential type.
Trait Implementations§
Source§impl Clone for DTGCredentialType
impl Clone for DTGCredentialType
Source§fn clone(&self) -> DTGCredentialType
fn clone(&self) -> DTGCredentialType
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 DTGCredentialType
impl Debug for DTGCredentialType
Source§impl Display for DTGCredentialType
impl Display for DTGCredentialType
Auto Trait Implementations§
impl Freeze for DTGCredentialType
impl RefUnwindSafe for DTGCredentialType
impl Send for DTGCredentialType
impl Sync for DTGCredentialType
impl Unpin for DTGCredentialType
impl UnsafeUnpin for DTGCredentialType
impl UnwindSafe for DTGCredentialType
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