pub struct WalletImportInitResponse {
pub encryption_public_key: String,
pub encryption_type: HpkeEncryption,
pub import_id: Option<String>,
}Expand description
Response from initializing a wallet import, containing the encryption public key.
JSON schema
{
"title": "WalletImportInitResponse",
"description": "Response from initializing a wallet import, containing
the encryption public key.",
"type": "object",
"required": [
"encryption_public_key",
"encryption_type"
],
"properties": {
"encryption_public_key": {
"type": "string"
},
"encryption_type": {
"$ref": "#/components/schemas/HPKEEncryption"
},
"import_id": {
"type": "string"
}
},
"x-stainless-model": "wallets.wallet_import_init_response"
}Fields§
§encryption_public_key: String§encryption_type: HpkeEncryption§import_id: Option<String>Trait Implementations§
Source§impl Clone for WalletImportInitResponse
impl Clone for WalletImportInitResponse
Source§fn clone(&self) -> WalletImportInitResponse
fn clone(&self) -> WalletImportInitResponse
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 WalletImportInitResponse
impl Debug for WalletImportInitResponse
Source§impl<'de> Deserialize<'de> for WalletImportInitResponse
impl<'de> Deserialize<'de> for WalletImportInitResponse
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<&WalletImportInitResponse> for WalletImportInitResponse
impl From<&WalletImportInitResponse> for WalletImportInitResponse
Source§fn from(value: &WalletImportInitResponse) -> Self
fn from(value: &WalletImportInitResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WalletImportInitResponse
impl RefUnwindSafe for WalletImportInitResponse
impl Send for WalletImportInitResponse
impl Sync for WalletImportInitResponse
impl Unpin for WalletImportInitResponse
impl UnsafeUnpin for WalletImportInitResponse
impl UnwindSafe for WalletImportInitResponse
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