pub struct WalletImportInitializationResponse {
pub encryption_public_key: String,
pub encryption_type: HpkeEncryption,
}Expand description
WalletImportInitializationResponse
JSON schema
{
"title": "Wallet import initialization response",
"examples": [
{
"encryption_public_key":
"BDAZLOIdTaPycEYkgG0MvCzbIKJLli/yWkAV5yCa9yOsZ4JsrLweA5MnP8YIiY4k/
RRzC+APhhO+P+Hoz/rt7Go=",
"encryption_type": "HPKE"
}
],
"type": "object",
"required": [
"encryption_public_key",
"encryption_type"
],
"properties": {
"encryption_public_key": {
"description": "The base64-encoded encryption public key to encrypt
the wallet entropy with.",
"type": "string"
},
"encryption_type": {
"$ref": "#/components/schemas/HPKEEncryption"
}
}
}Fields§
§encryption_public_key: StringThe base64-encoded encryption public key to encrypt the wallet entropy with.
encryption_type: HpkeEncryptionTrait Implementations§
Source§impl Clone for WalletImportInitializationResponse
impl Clone for WalletImportInitializationResponse
Source§fn clone(&self) -> WalletImportInitializationResponse
fn clone(&self) -> WalletImportInitializationResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for WalletImportInitializationResponse
impl<'de> Deserialize<'de> for WalletImportInitializationResponse
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<&WalletImportInitializationResponse> for WalletImportInitializationResponse
impl From<&WalletImportInitializationResponse> for WalletImportInitializationResponse
Source§fn from(value: &WalletImportInitializationResponse) -> Self
fn from(value: &WalletImportInitializationResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WalletImportInitializationResponse
impl RefUnwindSafe for WalletImportInitializationResponse
impl Send for WalletImportInitializationResponse
impl Sync for WalletImportInitializationResponse
impl Unpin for WalletImportInitializationResponse
impl UnwindSafe for WalletImportInitializationResponse
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