pub struct GenericVerificationMethod {
pub id: IriBuf,
pub type_: String,
pub controller: UriBuf,
pub properties: BTreeMap<String, Value>,
}Expand description
Generic verification method.
Fields§
§id: IriBufIdentifier.
type_: StringType name.
controller: UriBufMethod controller.
properties: BTreeMap<String, Value>Other properties.
Trait Implementations§
source§impl Clone for GenericVerificationMethod
impl Clone for GenericVerificationMethod
source§fn clone(&self) -> GenericVerificationMethod
fn clone(&self) -> GenericVerificationMethod
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GenericVerificationMethod
impl Debug for GenericVerificationMethod
source§impl<'de> Deserialize<'de> for GenericVerificationMethod
impl<'de> Deserialize<'de> for GenericVerificationMethod
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GenericVerificationMethod, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GenericVerificationMethod, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<AnyMethod> for GenericVerificationMethod
impl From<AnyMethod> for GenericVerificationMethod
source§impl Serialize for GenericVerificationMethod
impl Serialize for GenericVerificationMethod
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl TryFrom<GenericVerificationMethod> for AnyJwkMethod
impl TryFrom<GenericVerificationMethod> for AnyJwkMethod
§type Error = InvalidVerificationMethod
type Error = InvalidVerificationMethod
The type returned in the event of a conversion error.
source§impl TryFrom<GenericVerificationMethod> for AnyMethod
impl TryFrom<GenericVerificationMethod> for AnyMethod
§type Error = InvalidVerificationMethod
type Error = InvalidVerificationMethod
The type returned in the event of a conversion error.
source§impl TryFrom<GenericVerificationMethod> for BlockchainVerificationMethod2021
impl TryFrom<GenericVerificationMethod> for BlockchainVerificationMethod2021
§type Error = InvalidVerificationMethod
type Error = InvalidVerificationMethod
The type returned in the event of a conversion error.
source§impl TryFrom<GenericVerificationMethod> for EcdsaSecp256k1RecoveryMethod2020
impl TryFrom<GenericVerificationMethod> for EcdsaSecp256k1RecoveryMethod2020
§type Error = InvalidVerificationMethod
type Error = InvalidVerificationMethod
The type returned in the event of a conversion error.
source§impl TryFrom<GenericVerificationMethod> for EcdsaSecp256k1VerificationKey2019
impl TryFrom<GenericVerificationMethod> for EcdsaSecp256k1VerificationKey2019
§type Error = InvalidVerificationMethod
type Error = InvalidVerificationMethod
The type returned in the event of a conversion error.
source§impl TryFrom<GenericVerificationMethod> for EcdsaSecp256r1VerificationKey2019
impl TryFrom<GenericVerificationMethod> for EcdsaSecp256r1VerificationKey2019
§type Error = InvalidVerificationMethod
type Error = InvalidVerificationMethod
The type returned in the event of a conversion error.
source§impl TryFrom<GenericVerificationMethod> for Ed25519PublicKeyBLAKE2BDigestSize20Base58CheckEncoded2021
impl TryFrom<GenericVerificationMethod> for Ed25519PublicKeyBLAKE2BDigestSize20Base58CheckEncoded2021
§type Error = InvalidVerificationMethod
type Error = InvalidVerificationMethod
The type returned in the event of a conversion error.
source§impl TryFrom<GenericVerificationMethod> for Ed25519VerificationKey2018
impl TryFrom<GenericVerificationMethod> for Ed25519VerificationKey2018
§type Error = InvalidVerificationMethod
type Error = InvalidVerificationMethod
The type returned in the event of a conversion error.
source§impl TryFrom<GenericVerificationMethod> for Ed25519VerificationKey2020
impl TryFrom<GenericVerificationMethod> for Ed25519VerificationKey2020
§type Error = InvalidVerificationMethod
type Error = InvalidVerificationMethod
The type returned in the event of a conversion error.
source§impl TryFrom<GenericVerificationMethod> for Eip712Method2021
impl TryFrom<GenericVerificationMethod> for Eip712Method2021
§type Error = InvalidVerificationMethod
type Error = InvalidVerificationMethod
The type returned in the event of a conversion error.
source§impl TryFrom<GenericVerificationMethod> for JsonWebKey2020
impl TryFrom<GenericVerificationMethod> for JsonWebKey2020
§type Error = InvalidVerificationMethod
type Error = InvalidVerificationMethod
The type returned in the event of a conversion error.
source§impl TryFrom<GenericVerificationMethod> for Multikey
impl TryFrom<GenericVerificationMethod> for Multikey
§type Error = InvalidVerificationMethod
type Error = InvalidVerificationMethod
The type returned in the event of a conversion error.
source§impl TryFrom<GenericVerificationMethod> for P256PublicKeyBLAKE2BDigestSize20Base58CheckEncoded2021
impl TryFrom<GenericVerificationMethod> for P256PublicKeyBLAKE2BDigestSize20Base58CheckEncoded2021
§type Error = InvalidVerificationMethod
type Error = InvalidVerificationMethod
The type returned in the event of a conversion error.
source§impl TryFrom<GenericVerificationMethod> for RsaVerificationKey2018
impl TryFrom<GenericVerificationMethod> for RsaVerificationKey2018
§type Error = InvalidVerificationMethod
type Error = InvalidVerificationMethod
The type returned in the event of a conversion error.
source§impl TryFrom<GenericVerificationMethod> for SolanaMethod2021
impl TryFrom<GenericVerificationMethod> for SolanaMethod2021
§type Error = InvalidVerificationMethod
type Error = InvalidVerificationMethod
The type returned in the event of a conversion error.
source§impl TryFrom<GenericVerificationMethod> for TezosMethod2021
impl TryFrom<GenericVerificationMethod> for TezosMethod2021
§type Error = InvalidVerificationMethod
type Error = InvalidVerificationMethod
The type returned in the event of a conversion error.
source§impl TypedVerificationMethod for GenericVerificationMethod
impl TypedVerificationMethod for GenericVerificationMethod
fn type_(&self) -> &str
fn expected_type() -> Option<ExpectedType>
fn type_match(_ty: &str) -> bool
impl Eq for GenericVerificationMethod
impl StructuralPartialEq for GenericVerificationMethod
Auto Trait Implementations§
impl Freeze for GenericVerificationMethod
impl RefUnwindSafe for GenericVerificationMethod
impl Send for GenericVerificationMethod
impl Sync for GenericVerificationMethod
impl Unpin for GenericVerificationMethod
impl UnwindSafe for GenericVerificationMethod
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
source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<'de, T, C> DeserializeTyped<'de, C> for Twhere
T: Deserialize<'de>,
impl<'de, T, C> DeserializeTyped<'de, C> for Twhere
T: Deserialize<'de>,
fn deserialize_typed<S>(
_: &C,
deserializer: S,
) -> Result<T, <S as Deserializer<'de>>::Error>where
S: Deserializer<'de>,
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
fn equivalent(&self, key: &K) -> bool
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T.