[][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: Value,
    pub signature_correctness_proof: Value,
    pub rev_reg: Option<Value>,
    pub witness: Option<Value>,
}

Fields

schema_id: SchemaIdcred_def_id: CredentialDefinitionIdrev_reg_id: Option<RevocationRegistryId>values: CredentialValuessignature: Valuesignature_correctness_proof: Valuerev_reg: Option<Value>witness: Option<Value>

Implementations

impl Credential[src]

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

Trait Implementations

impl Debug for Credential[src]

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

impl Serialize 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, 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,