Type Alias IcaCredential

Source
pub type IcaCredential = CredentialV2<IdentityClaimsAggregationVc>;
Expand description

TO DO: Doc – looks like CredentialV2 for our specific use case.

Aliased Type§

struct IcaCredential {
    pub contexts: NEVec<IriBuf>,
    pub id: Option<UriBuf>,
    pub types: NEVec<String>,
    pub credential_subjects: NEVec<IdentityClaimsAggregationVc>,
    pub issuer: UriBuf,
    pub valid_from: Option<DateTime<FixedOffset>>,
    pub valid_until: Option<DateTime<FixedOffset>>,
    pub extra_properties: BTreeMap<String, Value>,
}

Fields§

§contexts: NEVec<IriBuf>§id: Option<UriBuf>§types: NEVec<String>§credential_subjects: NEVec<IdentityClaimsAggregationVc>§issuer: UriBuf§valid_from: Option<DateTime<FixedOffset>>§valid_until: Option<DateTime<FixedOffset>>§extra_properties: BTreeMap<String, Value>