[][src]Struct indy_data_types::anoncreds::credential::Credential

pub struct Credential {
    pub schema_id: SchemaId,
    pub cred_def_id: CredentialDefinitionId,
    pub rev_reg_id: Option<RevocationRegistryId>,
    pub values: CredentialValues,
    pub signature: EmbedJson<CredentialSignature>,
    pub signature_correctness_proof: EmbedJson<SignatureCorrectnessProof>,
    pub rev_reg: Option<EmbedJson<RevocationRegistry>>,
    pub witness: Option<EmbedJson<Witness>>,
}

Fields

schema_id: SchemaIdcred_def_id: CredentialDefinitionIdrev_reg_id: Option<RevocationRegistryId>values: CredentialValuessignature: EmbedJson<CredentialSignature>signature_correctness_proof: EmbedJson<SignatureCorrectnessProof>rev_reg: Option<EmbedJson<RevocationRegistry>>witness: Option<EmbedJson<Witness>>

Implementations

impl Credential[src]

pub const QUALIFIABLE_TAGS: [&'static str; 5][src]

Trait Implementations

impl Clone for Credential[src]

impl Debug for Credential[src]

impl<'de> Deserialize<'de> for Credential[src]

impl Eq for Credential[src]

impl PartialEq<Credential> for Credential[src]

impl Serialize for Credential[src]

impl StructuralEq for Credential[src]

impl StructuralPartialEq for Credential[src]

impl Validatable for Credential[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.