pub struct CreateEndUserBodyEvmAccount {
pub create_smart_account: bool,
}Expand description
Configuration for creating an EVM account for the end user.
JSON schema
{
"description": "Configuration for creating an EVM account for the end user.",
"type": "object",
"properties": {
"createSmartAccount": {
"description": "If true, creates an EVM smart account and a default EVM EOA account as the owner. If false, only a EVM EOA account is created.",
"default": false,
"examples": [
true
],
"type": "boolean"
}
}
}Fields§
§create_smart_account: boolIf true, creates an EVM smart account and a default EVM EOA account as the owner. If false, only a EVM EOA account is created.
Implementations§
Trait Implementations§
Source§impl Clone for CreateEndUserBodyEvmAccount
impl Clone for CreateEndUserBodyEvmAccount
Source§fn clone(&self) -> CreateEndUserBodyEvmAccount
fn clone(&self) -> CreateEndUserBodyEvmAccount
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 CreateEndUserBodyEvmAccount
impl Debug for CreateEndUserBodyEvmAccount
Source§impl<'de> Deserialize<'de> for CreateEndUserBodyEvmAccount
impl<'de> Deserialize<'de> for CreateEndUserBodyEvmAccount
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<&CreateEndUserBodyEvmAccount> for CreateEndUserBodyEvmAccount
impl From<&CreateEndUserBodyEvmAccount> for CreateEndUserBodyEvmAccount
Source§fn from(value: &CreateEndUserBodyEvmAccount) -> Self
fn from(value: &CreateEndUserBodyEvmAccount) -> Self
Converts to this type from the input type.
Source§impl From<CreateEndUserBodyEvmAccount> for CreateEndUserBodyEvmAccount
impl From<CreateEndUserBodyEvmAccount> for CreateEndUserBodyEvmAccount
Source§fn from(value: CreateEndUserBodyEvmAccount) -> Self
fn from(value: CreateEndUserBodyEvmAccount) -> Self
Converts to this type from the input type.
Source§impl TryFrom<CreateEndUserBodyEvmAccount> for CreateEndUserBodyEvmAccount
impl TryFrom<CreateEndUserBodyEvmAccount> for CreateEndUserBodyEvmAccount
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: CreateEndUserBodyEvmAccount) -> Result<Self, ConversionError>
fn try_from(value: CreateEndUserBodyEvmAccount) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CreateEndUserBodyEvmAccount
impl RefUnwindSafe for CreateEndUserBodyEvmAccount
impl Send for CreateEndUserBodyEvmAccount
impl Sync for CreateEndUserBodyEvmAccount
impl Unpin for CreateEndUserBodyEvmAccount
impl UnwindSafe for CreateEndUserBodyEvmAccount
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