pub struct AddEndUserEvmSmartAccountBody {
pub enable_spend_permissions: bool,
}Expand description
AddEndUserEvmSmartAccountBody
JSON schema
{
"type": "object",
"properties": {
"enableSpendPermissions": {
"description": "If true, enables spend permissions for the EVM smart account.",
"default": false,
"examples": [
true
],
"type": "boolean"
}
}
}Fields§
§enable_spend_permissions: boolIf true, enables spend permissions for the EVM smart account.
Implementations§
Trait Implementations§
Source§impl Clone for AddEndUserEvmSmartAccountBody
impl Clone for AddEndUserEvmSmartAccountBody
Source§fn clone(&self) -> AddEndUserEvmSmartAccountBody
fn clone(&self) -> AddEndUserEvmSmartAccountBody
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 AddEndUserEvmSmartAccountBody
impl<'de> Deserialize<'de> for AddEndUserEvmSmartAccountBody
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<&AddEndUserEvmSmartAccountBody> for AddEndUserEvmSmartAccountBody
impl From<&AddEndUserEvmSmartAccountBody> for AddEndUserEvmSmartAccountBody
Source§fn from(value: &AddEndUserEvmSmartAccountBody) -> Self
fn from(value: &AddEndUserEvmSmartAccountBody) -> Self
Converts to this type from the input type.
Source§impl From<AddEndUserEvmSmartAccountBody> for AddEndUserEvmSmartAccountBody
impl From<AddEndUserEvmSmartAccountBody> for AddEndUserEvmSmartAccountBody
Source§fn from(value: AddEndUserEvmSmartAccountBody) -> Self
fn from(value: AddEndUserEvmSmartAccountBody) -> Self
Converts to this type from the input type.
Source§impl TryFrom<AddEndUserEvmSmartAccountBody> for AddEndUserEvmSmartAccountBody
impl TryFrom<AddEndUserEvmSmartAccountBody> for AddEndUserEvmSmartAccountBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: AddEndUserEvmSmartAccountBody,
) -> Result<Self, ConversionError>
fn try_from( value: AddEndUserEvmSmartAccountBody, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AddEndUserEvmSmartAccountBody
impl RefUnwindSafe for AddEndUserEvmSmartAccountBody
impl Send for AddEndUserEvmSmartAccountBody
impl Sync for AddEndUserEvmSmartAccountBody
impl Unpin for AddEndUserEvmSmartAccountBody
impl UnsafeUnpin for AddEndUserEvmSmartAccountBody
impl UnwindSafe for AddEndUserEvmSmartAccountBody
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