pub fn device_for_credential(
conn: &Connection,
credential_kind: CredentialKind,
credential_ref: &str,
) -> Result<Option<Device>>Expand description
The device already minted for (credential_kind, credential_ref), if
any (the unique-index lookup behind device_id_for, P4).