#[non_exhaustive]pub enum VerificationMethodType {
Multikey,
Ed25519VerificationKey2020,
Ed25519VerificationKey2018,
EcdsaSecp256k1VerificationKey2019,
EcdsaSecp256r1VerificationKey2019,
JsonWebKey2020,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Multikey
Ed25519VerificationKey2020
Ed25519VerificationKey2018
EcdsaSecp256k1VerificationKey2019
EcdsaSecp256r1VerificationKey2019
JsonWebKey2020
Implementations§
Trait Implementations§
Source§impl Clone for VerificationMethodType
impl Clone for VerificationMethodType
Source§fn clone(&self) -> VerificationMethodType
fn clone(&self) -> VerificationMethodType
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 VerificationMethodType
impl Debug for VerificationMethodType
impl Copy for VerificationMethodType
Auto Trait Implementations§
impl Freeze for VerificationMethodType
impl RefUnwindSafe for VerificationMethodType
impl Send for VerificationMethodType
impl Sync for VerificationMethodType
impl Unpin for VerificationMethodType
impl UnwindSafe for VerificationMethodType
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<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
.