pub struct KeyPair {Show 20 fields
pub id: Option<String>,
pub _type: String,
pub context: Option<Vec<String>>,
pub public_key_base58: Option<String>,
pub private_key_base58: Option<String>,
pub public_key_multibase: Option<String>,
pub private_key_multibase: Option<String>,
pub revoked: Option<bool>,
pub controller: Option<String>,
pub blockchain_account_id: Option<String>,
pub public_key_hex: Option<String>,
pub ethereum_address: Option<String>,
pub public_key_base64: Option<String>,
pub public_key_pem: Option<String>,
pub public_key_jwk: Option<Value>,
pub private_key_jwk: Option<Value>,
pub private_key_hex: Option<String>,
pub private_key_base64: Option<String>,
pub private_key_pem: Option<String>,
pub value: Option<String>,
}Fields§
§id: Option<String>§_type: String§context: Option<Vec<String>>§public_key_base58: Option<String>§private_key_base58: Option<String>§public_key_multibase: Option<String>§private_key_multibase: Option<String>§revoked: Option<bool>§controller: Option<String>§blockchain_account_id: Option<String>§public_key_hex: Option<String>§ethereum_address: Option<String>§public_key_base64: Option<String>§public_key_pem: Option<String>§public_key_jwk: Option<Value>§private_key_jwk: Option<Value>§private_key_hex: Option<String>§private_key_base64: Option<String>§private_key_pem: Option<String>§value: Option<String>Trait Implementations§
source§impl<'de> Deserialize<'de> for KeyPair
impl<'de> Deserialize<'de> for KeyPair
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 FromWasmAbi for KeyPair
impl FromWasmAbi for KeyPair
source§impl IntoWasmAbi for KeyPair
impl IntoWasmAbi for KeyPair
source§impl LongRefFromWasmAbi for KeyPair
impl LongRefFromWasmAbi for KeyPair
source§impl OptionFromWasmAbi for KeyPair
impl OptionFromWasmAbi for KeyPair
source§impl OptionIntoWasmAbi for KeyPair
impl OptionIntoWasmAbi for KeyPair
source§impl RefFromWasmAbi for KeyPair
impl RefFromWasmAbi for KeyPair
source§impl RefMutFromWasmAbi for KeyPair
impl RefMutFromWasmAbi for KeyPair
source§impl TryFromJsValue for KeyPair
impl TryFromJsValue for KeyPair
source§impl VectorFromWasmAbi for KeyPair
impl VectorFromWasmAbi for KeyPair
source§impl VectorIntoWasmAbi for KeyPair
impl VectorIntoWasmAbi for KeyPair
Auto Trait Implementations§
impl Freeze for KeyPair
impl RefUnwindSafe for KeyPair
impl Send for KeyPair
impl Sync for KeyPair
impl Unpin for KeyPair
impl UnwindSafe for KeyPair
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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::Abisource§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.