pub struct SeedPhraseExportResponse {
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": "SeedPhraseExportResponse",
"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.seed_phrase_export_response"
}Fields§
§ciphertext: String§encapsulated_key: String§encryption_type: HpkeEncryptionTrait Implementations§
Source§impl Clone for SeedPhraseExportResponse
impl Clone for SeedPhraseExportResponse
Source§fn clone(&self) -> SeedPhraseExportResponse
fn clone(&self) -> SeedPhraseExportResponse
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 SeedPhraseExportResponse
impl Debug for SeedPhraseExportResponse
Source§impl<'de> Deserialize<'de> for SeedPhraseExportResponse
impl<'de> Deserialize<'de> for SeedPhraseExportResponse
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<&SeedPhraseExportResponse> for SeedPhraseExportResponse
impl From<&SeedPhraseExportResponse> for SeedPhraseExportResponse
Source§fn from(value: &SeedPhraseExportResponse) -> Self
fn from(value: &SeedPhraseExportResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SeedPhraseExportResponse
impl RefUnwindSafe for SeedPhraseExportResponse
impl Send for SeedPhraseExportResponse
impl Sync for SeedPhraseExportResponse
impl Unpin for SeedPhraseExportResponse
impl UnsafeUnpin for SeedPhraseExportResponse
impl UnwindSafe for SeedPhraseExportResponse
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