pub fn credential_record(
did: &str,
credential: &Credential,
created_at: &str,
) -> ValueExpand 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.