pub struct GenericVerificationMethod {
pub id: IriBuf,
pub type_: String,
pub controller: UriBuf,
pub properties: BTreeMap<String, Value>,
}
Expand description
Generic verification method.
Fields§
§id: IriBuf
Identifier.
type_: String
Type name.
controller: UriBuf
Method 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 duplicate 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
Source§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
Source§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
Source§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
Source§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
Source§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
Source§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
Source§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
Source§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
Source§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
Source§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
Source§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
Source§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
Source§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
Source§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
Source§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
Source§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§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
.