pub struct ExportPrivateKeyRpcInput {
pub address: String,
pub method: ExportPrivateKeyRpcInputMethod,
pub params: PrivateKeyExportInput,
}Expand description
Exports the private key of the wallet.
JSON schema
{
"title": "ExportPrivateKeyRpcInput",
"description": "Exports the private key of the wallet.",
"type": "object",
"required": [
"address",
"method",
"params"
],
"properties": {
"address": {
"type": "string"
},
"method": {
"type": "string",
"enum": [
"exportPrivateKey"
]
},
"params": {
"$ref": "#/components/schemas/PrivateKeyExportInput"
}
},
"x-stainless-model": "wallets.export_private_key_rpc_input"
}Fields§
§address: String§method: ExportPrivateKeyRpcInputMethod§params: PrivateKeyExportInputTrait Implementations§
Source§impl Clone for ExportPrivateKeyRpcInput
impl Clone for ExportPrivateKeyRpcInput
Source§fn clone(&self) -> ExportPrivateKeyRpcInput
fn clone(&self) -> ExportPrivateKeyRpcInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExportPrivateKeyRpcInput
impl Debug for ExportPrivateKeyRpcInput
Source§impl<'de> Deserialize<'de> for ExportPrivateKeyRpcInput
impl<'de> Deserialize<'de> for ExportPrivateKeyRpcInput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExportPrivateKeyRpcInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExportPrivateKeyRpcInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&ExportPrivateKeyRpcInput> for ExportPrivateKeyRpcInput
impl From<&ExportPrivateKeyRpcInput> for ExportPrivateKeyRpcInput
Source§fn from(value: &ExportPrivateKeyRpcInput) -> ExportPrivateKeyRpcInput
fn from(value: &ExportPrivateKeyRpcInput) -> ExportPrivateKeyRpcInput
Converts to this type from the input type.
Source§impl From<ExportPrivateKeyRpcInput> for WalletRpcRequestBody
impl From<ExportPrivateKeyRpcInput> for WalletRpcRequestBody
Source§fn from(value: ExportPrivateKeyRpcInput) -> WalletRpcRequestBody
fn from(value: ExportPrivateKeyRpcInput) -> WalletRpcRequestBody
Converts to this type from the input type.
Source§impl Serialize for ExportPrivateKeyRpcInput
impl Serialize for ExportPrivateKeyRpcInput
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ExportPrivateKeyRpcInput
impl RefUnwindSafe for ExportPrivateKeyRpcInput
impl Send for ExportPrivateKeyRpcInput
impl Sync for ExportPrivateKeyRpcInput
impl Unpin for ExportPrivateKeyRpcInput
impl UnsafeUnpin for ExportPrivateKeyRpcInput
impl UnwindSafe for ExportPrivateKeyRpcInput
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