Macro ockam_entity::credential_type[][src]

macro_rules! credential_type {
    ($t : expr ; $($x : expr), * $(,) ?) => { ... };
}
Expand description

Creates a CredentialSchema containing the arguments.

let schema = credential_type!["TYPE_ID"; "attribute_of_string_type", (Number, "attribute_of_number_type")];