pub struct PrivateKeyExportResponse {
pub ciphertext: String,
pub encapsulated_key: String,
pub encryption_type: HpkeEncryption,
}Expand description
Response containing HPKE-encrypted wallet data (private key or seed phrase).
JSON schema
{
"title": "PrivateKeyExportResponse",
"description": "Response containing HPKE-encrypted wallet data (private
key or seed phrase).",
"type": "object",
"required": [
"ciphertext",
"encapsulated_key",
"encryption_type"
],
"properties": {
"ciphertext": {
"type": "string"
},
"encapsulated_key": {
"type": "string"
},
"encryption_type": {
"$ref": "#/components/schemas/HPKEEncryption"
}
},
"x-stainless-model": "wallets.private_key_export_response"
}Fields§
§ciphertext: String§encapsulated_key: String§encryption_type: HpkeEncryptionTrait Implementations§
Source§impl Clone for PrivateKeyExportResponse
impl Clone for PrivateKeyExportResponse
Source§fn clone(&self) -> PrivateKeyExportResponse
fn clone(&self) -> PrivateKeyExportResponse
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 PrivateKeyExportResponse
impl Debug for PrivateKeyExportResponse
Source§impl<'de> Deserialize<'de> for PrivateKeyExportResponse
impl<'de> Deserialize<'de> for PrivateKeyExportResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PrivateKeyExportResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PrivateKeyExportResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&PrivateKeyExportResponse> for PrivateKeyExportResponse
impl From<&PrivateKeyExportResponse> for PrivateKeyExportResponse
Source§fn from(value: &PrivateKeyExportResponse) -> PrivateKeyExportResponse
fn from(value: &PrivateKeyExportResponse) -> PrivateKeyExportResponse
Converts to this type from the input type.
Source§impl Serialize for PrivateKeyExportResponse
impl Serialize for PrivateKeyExportResponse
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 PrivateKeyExportResponse
impl RefUnwindSafe for PrivateKeyExportResponse
impl Send for PrivateKeyExportResponse
impl Sync for PrivateKeyExportResponse
impl Unpin for PrivateKeyExportResponse
impl UnsafeUnpin for PrivateKeyExportResponse
impl UnwindSafe for PrivateKeyExportResponse
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