pub enum DIDPeerKeys {
Verification,
Encryption,
}
Expand description
DID Peer Key Purpose (used to create a new did:peer: string) Verification: Keys are referenced in the authentication and assertionMethod fields Encryption: Keys are referenced in the keyAgreement field
Variants§
Trait Implementations§
Source§impl Clone for DIDPeerKeys
impl Clone for DIDPeerKeys
Source§fn clone(&self) -> DIDPeerKeys
fn clone(&self) -> DIDPeerKeys
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 Display for DIDPeerKeys
impl Display for DIDPeerKeys
Source§impl From<DIDPeerKeys> for JsValue
impl From<DIDPeerKeys> for JsValue
Source§fn from(value: DIDPeerKeys) -> Self
fn from(value: DIDPeerKeys) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for DIDPeerKeys
impl FromWasmAbi for DIDPeerKeys
Source§impl IntoWasmAbi for DIDPeerKeys
impl IntoWasmAbi for DIDPeerKeys
Source§impl OptionFromWasmAbi for DIDPeerKeys
impl OptionFromWasmAbi for DIDPeerKeys
Source§impl OptionIntoWasmAbi for DIDPeerKeys
impl OptionIntoWasmAbi for DIDPeerKeys
Source§impl TryFromJsValue for DIDPeerKeys
impl TryFromJsValue for DIDPeerKeys
Source§fn try_from_js_value(
value: JsValue,
) -> Result<Self, <DIDPeerKeys as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue, ) -> Result<Self, <DIDPeerKeys as TryFromJsValue>::Error>
Performs the conversion.
Source§impl VectorFromWasmAbi for DIDPeerKeys
impl VectorFromWasmAbi for DIDPeerKeys
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[DIDPeerKeys]>
Source§impl VectorIntoWasmAbi for DIDPeerKeys
impl VectorIntoWasmAbi for DIDPeerKeys
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[DIDPeerKeys]>) -> Self::Abi
Source§impl WasmDescribeVector for DIDPeerKeys
impl WasmDescribeVector for DIDPeerKeys
Auto Trait Implementations§
impl Freeze for DIDPeerKeys
impl RefUnwindSafe for DIDPeerKeys
impl Send for DIDPeerKeys
impl Sync for DIDPeerKeys
impl Unpin for DIDPeerKeys
impl UnwindSafe for DIDPeerKeys
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.