pub struct VerificationMethod {
pub id: String,
pub type: String,
pub controller: Option<String>,
pub public_key_multibase: Option<String>,
pub public_key_jwk: Option<Value>,
}Expand description
One entry of a DID Document’s verificationMethod array.
Fields§
§id: StringFull DID URL of this key, including its fragment.
type: StringKey type, e.g. Multikey.
controller: Option<String>DID that controls this key.
public_key_multibase: Option<String>Multibase-encoded multicodec public key.
public_key_jwk: Option<Value>JWK-encoded public key. Parsed only far enough to report that APH does not yet consume this form.
Trait Implementations§
Source§impl Clone for VerificationMethod
impl Clone for VerificationMethod
Source§impl Debug for VerificationMethod
impl Debug for VerificationMethod
Source§impl<'de> Deserialize<'de> for VerificationMethod
impl<'de> Deserialize<'de> for VerificationMethod
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 VerificationMethod
impl RefUnwindSafe for VerificationMethod
impl Send for VerificationMethod
impl Sync for VerificationMethod
impl Unpin for VerificationMethod
impl UnsafeUnpin for VerificationMethod
impl UnwindSafe for VerificationMethod
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