pub struct ExportSolanaAccountByNameResponse {
pub encrypted_private_key: String,
}
Expand description
ExportSolanaAccountByNameResponse
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 ExportSolanaAccountByNameResponse
impl Clone for ExportSolanaAccountByNameResponse
Source§fn clone(&self) -> ExportSolanaAccountByNameResponse
fn clone(&self) -> ExportSolanaAccountByNameResponse
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 ExportSolanaAccountByNameResponse
impl<'de> Deserialize<'de> for ExportSolanaAccountByNameResponse
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<&ExportSolanaAccountByNameResponse> for ExportSolanaAccountByNameResponse
impl From<&ExportSolanaAccountByNameResponse> for ExportSolanaAccountByNameResponse
Source§fn from(value: &ExportSolanaAccountByNameResponse) -> Self
fn from(value: &ExportSolanaAccountByNameResponse) -> Self
Converts to this type from the input type.
Source§impl From<ExportSolanaAccountByNameResponse> for ExportSolanaAccountByNameResponse
impl From<ExportSolanaAccountByNameResponse> for ExportSolanaAccountByNameResponse
Source§fn from(value: ExportSolanaAccountByNameResponse) -> Self
fn from(value: ExportSolanaAccountByNameResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ExportSolanaAccountByNameResponse> for ExportSolanaAccountByNameResponse
impl TryFrom<ExportSolanaAccountByNameResponse> for ExportSolanaAccountByNameResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: ExportSolanaAccountByNameResponse,
) -> Result<Self, ConversionError>
fn try_from( value: ExportSolanaAccountByNameResponse, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ExportSolanaAccountByNameResponse
impl RefUnwindSafe for ExportSolanaAccountByNameResponse
impl Send for ExportSolanaAccountByNameResponse
impl Sync for ExportSolanaAccountByNameResponse
impl Unpin for ExportSolanaAccountByNameResponse
impl UnwindSafe for ExportSolanaAccountByNameResponse
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