pub type CredentialSubjects<T> = StorageMap<_GeneratedPrefixForStorageCredentialSubjects<T>, Blake2_128Concat, CredentialIdOf<T>, SubjectIdOf<T>>;
Expand description

A reverse index mapping from credential ID to the subject the credential was issued to.

It it used to perform efficient lookup of credentials given their ID.

Storage type is [StorageMap] with key type CredentialIdOf < T > and value type SubjectIdOf < T >.

Aliased Type§

struct CredentialSubjects<T>(/* private fields */);