pub struct UpdateEvmSmartAccountBody {
pub name: Option<UpdateEvmSmartAccountBodyName>,
}
Expand description
UpdateEvmSmartAccountBody
JSON schema
{
"type": "object",
"properties": {
"name": {
"description": "An optional name for the smart account.\nAccount names can consist of alphanumeric characters and hyphens, and be between 2 and 36 characters long.\nAccount names must be unique across all EVM smart accounts in the developer's CDP Project.",
"examples": [
"my-smart-account"
],
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9-]{0,34}[A-Za-z0-9]$"
}
}
}
Fields§
§name: Option<UpdateEvmSmartAccountBodyName>
An optional name for the smart account. Account names can consist of alphanumeric characters and hyphens, and be between 2 and 36 characters long. Account names must be unique across all EVM smart accounts in the developer’s CDP Project.
Implementations§
Source§impl UpdateEvmSmartAccountBody
impl UpdateEvmSmartAccountBody
pub fn builder() -> UpdateEvmSmartAccountBody
Trait Implementations§
Source§impl Clone for UpdateEvmSmartAccountBody
impl Clone for UpdateEvmSmartAccountBody
Source§fn clone(&self) -> UpdateEvmSmartAccountBody
fn clone(&self) -> UpdateEvmSmartAccountBody
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 UpdateEvmSmartAccountBody
impl Debug for UpdateEvmSmartAccountBody
Source§impl Default for UpdateEvmSmartAccountBody
impl Default for UpdateEvmSmartAccountBody
Source§impl<'de> Deserialize<'de> for UpdateEvmSmartAccountBody
impl<'de> Deserialize<'de> for UpdateEvmSmartAccountBody
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<&UpdateEvmSmartAccountBody> for UpdateEvmSmartAccountBody
impl From<&UpdateEvmSmartAccountBody> for UpdateEvmSmartAccountBody
Source§fn from(value: &UpdateEvmSmartAccountBody) -> Self
fn from(value: &UpdateEvmSmartAccountBody) -> Self
Converts to this type from the input type.
Source§impl From<UpdateEvmSmartAccountBody> for UpdateEvmSmartAccountBody
impl From<UpdateEvmSmartAccountBody> for UpdateEvmSmartAccountBody
Source§fn from(value: UpdateEvmSmartAccountBody) -> Self
fn from(value: UpdateEvmSmartAccountBody) -> Self
Converts to this type from the input type.
Source§impl TryFrom<UpdateEvmSmartAccountBody> for UpdateEvmSmartAccountBody
impl TryFrom<UpdateEvmSmartAccountBody> for UpdateEvmSmartAccountBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: UpdateEvmSmartAccountBody) -> Result<Self, ConversionError>
fn try_from(value: UpdateEvmSmartAccountBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for UpdateEvmSmartAccountBody
impl RefUnwindSafe for UpdateEvmSmartAccountBody
impl Send for UpdateEvmSmartAccountBody
impl Sync for UpdateEvmSmartAccountBody
impl Unpin for UpdateEvmSmartAccountBody
impl UnwindSafe for UpdateEvmSmartAccountBody
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