pub enum KeyPurpose {
VerificationMethod,
Authentication,
AssertionMethod,
KeyAgreement,
CapabilityInvocation,
CapabilityDelegation,
}Expand description
The purpose the requested key material will be used for.
Variants§
VerificationMethod
The document’s verification_method field.
Authentication
The document’s authentication field.
AssertionMethod
The document’s assertion_method field.
KeyAgreement
The document’s key_agreement field.
CapabilityInvocation
The document’s capability_invocation field.
CapabilityDelegation
The document’s capability_delegation field.
Auto Trait Implementations§
impl Freeze for KeyPurpose
impl RefUnwindSafe for KeyPurpose
impl Send for KeyPurpose
impl Sync for KeyPurpose
impl Unpin for KeyPurpose
impl UnwindSafe for KeyPurpose
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