pub struct ExportSolanaAccountResponse {
pub encrypted_private_key: String,
}
Expand description
ExportSolanaAccountResponse
JSON schema
{
"type": "object",
"required": [
"encryptedPrivateKey"
],
"properties": {
"encryptedPrivateKey": {
"description": "The base64-encoded, encrypted private key of the Solana account which is a 32 byte raw private key. The private key is encrypted in transport using the exportEncryptionKey in the request.",
"examples": [
"U2FsdGVkX1+vupppZksvRf5X5YgHq4+da+Q4qf51+Q4="
],
"type": "string"
}
}
}
Fields§
§encrypted_private_key: String
The base64-encoded, encrypted private key of the Solana account which is a 32 byte raw private key. The private key is encrypted in transport using the exportEncryptionKey in the request.
Implementations§
Trait Implementations§
Source§impl Clone for ExportSolanaAccountResponse
impl Clone for ExportSolanaAccountResponse
Source§fn clone(&self) -> ExportSolanaAccountResponse
fn clone(&self) -> ExportSolanaAccountResponse
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 Debug for ExportSolanaAccountResponse
impl Debug for ExportSolanaAccountResponse
Source§impl<'de> Deserialize<'de> for ExportSolanaAccountResponse
impl<'de> Deserialize<'de> for ExportSolanaAccountResponse
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<&ExportSolanaAccountResponse> for ExportSolanaAccountResponse
impl From<&ExportSolanaAccountResponse> for ExportSolanaAccountResponse
Source§fn from(value: &ExportSolanaAccountResponse) -> Self
fn from(value: &ExportSolanaAccountResponse) -> Self
Converts to this type from the input type.
Source§impl From<ExportSolanaAccountResponse> for ExportSolanaAccountResponse
impl From<ExportSolanaAccountResponse> for ExportSolanaAccountResponse
Source§fn from(value: ExportSolanaAccountResponse) -> Self
fn from(value: ExportSolanaAccountResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ExportSolanaAccountResponse> for ExportSolanaAccountResponse
impl TryFrom<ExportSolanaAccountResponse> for ExportSolanaAccountResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ExportSolanaAccountResponse) -> Result<Self, ConversionError>
fn try_from(value: ExportSolanaAccountResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ExportSolanaAccountResponse
impl RefUnwindSafe for ExportSolanaAccountResponse
impl Send for ExportSolanaAccountResponse
impl Sync for ExportSolanaAccountResponse
impl Unpin for ExportSolanaAccountResponse
impl UnwindSafe for ExportSolanaAccountResponse
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