Struct ssi_dids::VerificationMethodMap
source · pub struct VerificationMethodMap {
pub context: Option<Value>,
pub id: String,
pub type_: String,
pub controller: String,
pub public_key_jwk: Option<JWK>,
pub public_key_pgp: Option<String>,
pub public_key_base58: Option<String>,
pub blockchain_account_id: Option<String>,
pub property_set: Option<Map<String, Value>>,
}Expand description
A Verification method map (object) in a DID document.
Fields§
§context: Option<Value>@context property of a verification method map. Used if the verification method map uses some terms not defined in the containing DID document.
id: Stringid property (DID URL) of a verification method map.
type_: Stringtype property of a verification method map. Should be registered in DID Specification registries - Verification method types.
controller: Stringcontroller property of a verification method map.
Not to be confused with the controller property of a DID document.
public_key_jwk: Option<JWK>publicKeyJwk property of a verification method map, representing a JSON Web Key.
public_key_pgp: Option<String>§public_key_base58: Option<String>publicKeyBase58 property (deprecated; Security Vocab definition) - encodes public key material in Base58.
blockchain_account_id: Option<String>blockchainAccountId property (Security Vocab definition), encoding a CAIP-10 Blockchain account id.
property_set: Option<Map<String, Value>>Additional JSON properties.
Implementations§
source§impl VerificationMethodMap
impl VerificationMethodMap
Trait Implementations§
source§impl Clone for VerificationMethodMap
impl Clone for VerificationMethodMap
source§fn clone(&self) -> VerificationMethodMap
fn clone(&self) -> VerificationMethodMap
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VerificationMethodMap
impl Debug for VerificationMethodMap
source§impl Default for VerificationMethodMap
impl Default for VerificationMethodMap
source§fn default() -> VerificationMethodMap
fn default() -> VerificationMethodMap
source§impl<'de> Deserialize<'de> for VerificationMethodMap
impl<'de> Deserialize<'de> for VerificationMethodMap
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>,
source§impl PartialEq<VerificationMethodMap> for VerificationMethodMap
impl PartialEq<VerificationMethodMap> for VerificationMethodMap
source§fn eq(&self, other: &VerificationMethodMap) -> bool
fn eq(&self, other: &VerificationMethodMap) -> bool
self and other values to be equal, and is used
by ==.source§impl Serialize for VerificationMethodMap
impl Serialize for VerificationMethodMap
impl Eq for VerificationMethodMap
impl StructuralEq for VerificationMethodMap
impl StructuralPartialEq for VerificationMethodMap
Auto Trait Implementations§
impl RefUnwindSafe for VerificationMethodMap
impl Send for VerificationMethodMap
impl Sync for VerificationMethodMap
impl Unpin for VerificationMethodMap
impl UnwindSafe for VerificationMethodMap
Blanket Implementations§
§impl<T> At for T
impl<T> At for T
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.