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<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<&ExportPrivateKeyRpcInput> for ExportPrivateKeyRpcInput
impl From<&ExportPrivateKeyRpcInput> for ExportPrivateKeyRpcInput
Source§fn from(value: &ExportPrivateKeyRpcInput) -> Self
fn from(value: &ExportPrivateKeyRpcInput) -> Self
Converts to this type from the input type.
Source§impl From<ExportPrivateKeyRpcInput> for WalletRpcRequestBody
impl From<ExportPrivateKeyRpcInput> for WalletRpcRequestBody
Source§fn from(value: ExportPrivateKeyRpcInput) -> Self
fn from(value: ExportPrivateKeyRpcInput) -> Self
Converts to this type from the input type.
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