Skip to main content

credential_record

Function credential_record 

Source
pub fn credential_record(
    did: &str,
    credential: &Credential,
    created_at: &str,
) -> Value
Expand description

The record body the server writes for one of did’s credentials, field for field matching lexicons/bot/did/credential.json and Credential::from_record.