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<ExportPrivateKeyRpcResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExportPrivateKeyRpcResponse, <__D as Deserializer<'de>>::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) -> ExportPrivateKeyRpcResponse
fn from(value: &ExportPrivateKeyRpcResponse) -> ExportPrivateKeyRpcResponse
Converts to this type from the input type.
Source§impl From<ExportPrivateKeyRpcResponse> for WalletRpcResponse
impl From<ExportPrivateKeyRpcResponse> for WalletRpcResponse
Source§fn from(value: ExportPrivateKeyRpcResponse) -> WalletRpcResponse
fn from(value: ExportPrivateKeyRpcResponse) -> WalletRpcResponse
Converts to this type from the input type.
Source§impl Serialize for ExportPrivateKeyRpcResponse
impl Serialize for ExportPrivateKeyRpcResponse
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 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