pub struct ExportPrivateKeyRpcResponse {
pub data: PrivateKeyExportInput,
pub method: ExportPrivateKeyRpcResponseMethod,
}Expand description
Response to the exportPrivateKey RPC.
JSON schema
{
"title": "ExportPrivateKeyRpcResponse",
"description": "Response to the `exportPrivateKey` RPC.",
"type": "object",
"required": [
"data",
"method"
],
"properties": {
"data": {
"$ref": "#/components/schemas/PrivateKeyExportInput"
},
"method": {
"type": "string",
"enum": [
"exportPrivateKey"
]
}
},
"x-stainless-model": "wallets.export_private_key_rpc_response"
}Fields§
§data: PrivateKeyExportInput§method: ExportPrivateKeyRpcResponseMethodTrait Implementations§
Source§impl Clone for ExportPrivateKeyRpcResponse
impl Clone for ExportPrivateKeyRpcResponse
Source§fn clone(&self) -> ExportPrivateKeyRpcResponse
fn clone(&self) -> ExportPrivateKeyRpcResponse
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 ExportPrivateKeyRpcResponse
impl Debug for ExportPrivateKeyRpcResponse
Source§impl<'de> Deserialize<'de> for ExportPrivateKeyRpcResponse
impl<'de> Deserialize<'de> for ExportPrivateKeyRpcResponse
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<&ExportPrivateKeyRpcResponse> for ExportPrivateKeyRpcResponse
impl From<&ExportPrivateKeyRpcResponse> for ExportPrivateKeyRpcResponse
Source§fn from(value: &ExportPrivateKeyRpcResponse) -> Self
fn from(value: &ExportPrivateKeyRpcResponse) -> Self
Converts to this type from the input type.
Source§impl From<ExportPrivateKeyRpcResponse> for WalletRpcResponse
impl From<ExportPrivateKeyRpcResponse> for WalletRpcResponse
Source§fn from(value: ExportPrivateKeyRpcResponse) -> Self
fn from(value: ExportPrivateKeyRpcResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExportPrivateKeyRpcResponse
impl RefUnwindSafe for ExportPrivateKeyRpcResponse
impl Send for ExportPrivateKeyRpcResponse
impl Sync for ExportPrivateKeyRpcResponse
impl Unpin for ExportPrivateKeyRpcResponse
impl UnsafeUnpin for ExportPrivateKeyRpcResponse
impl UnwindSafe for ExportPrivateKeyRpcResponse
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