pub struct CredentialDefinition {
pub ver: String,
pub id: String,
pub schema_id: String,
pub type_field: String,
pub tag: String,
pub value: Value,
}Expand description
A credential definition structure
Fields§
§ver: StringVersion of the credential definition
id: StringId of the credential definition
schema_id: StringSchema id on which the credential definintion is based
type_field: StringThe type of the credential definition
tag: StringTag used by the credential definition
default is default
value: ValueTODO
Trait Implementations§
Source§impl Debug for CredentialDefinition
impl Debug for CredentialDefinition
Source§impl<'de> Deserialize<'de> for CredentialDefinition
impl<'de> Deserialize<'de> for CredentialDefinition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CredentialDefinition
impl RefUnwindSafe for CredentialDefinition
impl Send for CredentialDefinition
impl Sync for CredentialDefinition
impl Unpin for CredentialDefinition
impl UnwindSafe for CredentialDefinition
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more