pub struct SeedPhraseExportInput {
pub encryption_type: HpkeEncryption,
pub export_seed_phrase: Option<bool>,
pub export_type: Option<ExportType>,
pub recipient_public_key: RecipientPublicKey,
}Expand description
Input for exporting a wallet (private key or seed phrase) with HPKE encryption.
JSON schema
{
"title": "SeedPhraseExportInput",
"description": "Input for exporting a wallet (private key or seed
phrase) with HPKE encryption.",
"type": "object",
"required": [
"encryption_type",
"recipient_public_key"
],
"properties": {
"encryption_type": {
"$ref": "#/components/schemas/HPKEEncryption"
},
"export_seed_phrase": {
"type": "boolean"
},
"export_type": {
"$ref": "#/components/schemas/ExportType"
},
"recipient_public_key": {
"$ref": "#/components/schemas/RecipientPublicKey"
}
},
"x-stainless-model": "wallets.seed_phrase_export_input"
}Fields§
§encryption_type: HpkeEncryption§export_seed_phrase: Option<bool>§export_type: Option<ExportType>§recipient_public_key: RecipientPublicKeyTrait Implementations§
Source§impl Clone for SeedPhraseExportInput
impl Clone for SeedPhraseExportInput
Source§fn clone(&self) -> SeedPhraseExportInput
fn clone(&self) -> SeedPhraseExportInput
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 SeedPhraseExportInput
impl Debug for SeedPhraseExportInput
Source§impl<'de> Deserialize<'de> for SeedPhraseExportInput
impl<'de> Deserialize<'de> for SeedPhraseExportInput
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<&SeedPhraseExportInput> for SeedPhraseExportInput
impl From<&SeedPhraseExportInput> for SeedPhraseExportInput
Source§fn from(value: &SeedPhraseExportInput) -> Self
fn from(value: &SeedPhraseExportInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SeedPhraseExportInput
impl RefUnwindSafe for SeedPhraseExportInput
impl Send for SeedPhraseExportInput
impl Sync for SeedPhraseExportInput
impl Unpin for SeedPhraseExportInput
impl UnsafeUnpin for SeedPhraseExportInput
impl UnwindSafe for SeedPhraseExportInput
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