pub struct CreateEndUserBodySolanaAccount {
pub create_smart_account: bool,
}Expand description
Configuration for creating a Solana account for the end user.
JSON schema
{
"description": "Configuration for creating a Solana account for the end user.",
"type": "object",
"properties": {
"createSmartAccount": {
"description": "Only false is a valid option since currently smart accounts on Solana are not supported.",
"default": false,
"examples": [
false
],
"type": "boolean"
}
}
}Fields§
§create_smart_account: boolOnly false is a valid option since currently smart accounts on Solana are not supported.
Implementations§
Trait Implementations§
Source§impl Clone for CreateEndUserBodySolanaAccount
impl Clone for CreateEndUserBodySolanaAccount
Source§fn clone(&self) -> CreateEndUserBodySolanaAccount
fn clone(&self) -> CreateEndUserBodySolanaAccount
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 CreateEndUserBodySolanaAccount
impl<'de> Deserialize<'de> for CreateEndUserBodySolanaAccount
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<&CreateEndUserBodySolanaAccount> for CreateEndUserBodySolanaAccount
impl From<&CreateEndUserBodySolanaAccount> for CreateEndUserBodySolanaAccount
Source§fn from(value: &CreateEndUserBodySolanaAccount) -> Self
fn from(value: &CreateEndUserBodySolanaAccount) -> Self
Converts to this type from the input type.
Source§impl From<CreateEndUserBodySolanaAccount> for CreateEndUserBodySolanaAccount
impl From<CreateEndUserBodySolanaAccount> for CreateEndUserBodySolanaAccount
Source§fn from(value: CreateEndUserBodySolanaAccount) -> Self
fn from(value: CreateEndUserBodySolanaAccount) -> Self
Converts to this type from the input type.
Source§impl TryFrom<CreateEndUserBodySolanaAccount> for CreateEndUserBodySolanaAccount
impl TryFrom<CreateEndUserBodySolanaAccount> for CreateEndUserBodySolanaAccount
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: CreateEndUserBodySolanaAccount,
) -> Result<Self, ConversionError>
fn try_from( value: CreateEndUserBodySolanaAccount, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CreateEndUserBodySolanaAccount
impl RefUnwindSafe for CreateEndUserBodySolanaAccount
impl Send for CreateEndUserBodySolanaAccount
impl Sync for CreateEndUserBodySolanaAccount
impl Unpin for CreateEndUserBodySolanaAccount
impl UnwindSafe for CreateEndUserBodySolanaAccount
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