pub struct DIDPeerCreatedKeys {
pub key_multibase: String,
pub curve: String,
pub d: String,
pub x: String,
pub y: Option<String>,
}
Expand description
DIDPeerCreatedKeys, contains information related to any keys that were created
key_multibase: String
, the multibase_58 encoded key value (e.g. did:key:(.*))
curve: String
, the elliptic curve method used
d: String
, private key value in Base64URL_NOPAD
x: String
, public key value in Base64URL_NOPAD
y: Option<String>
, Optional: Y coordinate for EC keys in Base64URL_NOPAD
Fields§
§key_multibase: String
§curve: String
§d: String
§x: String
§y: Option<String>
Trait Implementations§
Source§impl Clone for DIDPeerCreatedKeys
impl Clone for DIDPeerCreatedKeys
Source§fn clone(&self) -> DIDPeerCreatedKeys
fn clone(&self) -> DIDPeerCreatedKeys
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 DIDPeerCreatedKeys
impl Debug for DIDPeerCreatedKeys
Source§impl<'de> Deserialize<'de> for DIDPeerCreatedKeys
impl<'de> Deserialize<'de> for DIDPeerCreatedKeys
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<DIDPeerCreatedKeys> for JsValue
impl From<DIDPeerCreatedKeys> for JsValue
Source§fn from(value: DIDPeerCreatedKeys) -> Self
fn from(value: DIDPeerCreatedKeys) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for DIDPeerCreatedKeys
impl FromWasmAbi for DIDPeerCreatedKeys
Source§impl IntoWasmAbi for DIDPeerCreatedKeys
impl IntoWasmAbi for DIDPeerCreatedKeys
Source§impl RefFromWasmAbi for DIDPeerCreatedKeys
impl RefFromWasmAbi for DIDPeerCreatedKeys
Source§type Anchor = RcRef<DIDPeerCreatedKeys>
type Anchor = RcRef<DIDPeerCreatedKeys>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl Serialize for DIDPeerCreatedKeys
impl Serialize for DIDPeerCreatedKeys
Source§impl TryFromJsValue for DIDPeerCreatedKeys
impl TryFromJsValue for DIDPeerCreatedKeys
Source§impl VectorFromWasmAbi for DIDPeerCreatedKeys
impl VectorFromWasmAbi for DIDPeerCreatedKeys
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[DIDPeerCreatedKeys]>
Source§impl VectorIntoWasmAbi for DIDPeerCreatedKeys
impl VectorIntoWasmAbi for DIDPeerCreatedKeys
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[DIDPeerCreatedKeys]>) -> Self::Abi
Source§impl WasmDescribeVector for DIDPeerCreatedKeys
impl WasmDescribeVector for DIDPeerCreatedKeys
impl SupportsConstructor for DIDPeerCreatedKeys
impl SupportsInstanceProperty for DIDPeerCreatedKeys
impl SupportsStaticProperty for DIDPeerCreatedKeys
Auto Trait Implementations§
impl Freeze for DIDPeerCreatedKeys
impl RefUnwindSafe for DIDPeerCreatedKeys
impl Send for DIDPeerCreatedKeys
impl Sync for DIDPeerCreatedKeys
impl Unpin for DIDPeerCreatedKeys
impl UnwindSafe for DIDPeerCreatedKeys
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
.