pub struct CreateEvmSmartAccount<'a> { /* private fields */ }
Expand description
Builder for [Client::create_evm_smart_account
]
[`Client::create_evm_smart_account`]: super::Client::create_evm_smart_account
Implementations§
Source§impl<'a> CreateEvmSmartAccount<'a>
impl<'a> CreateEvmSmartAccount<'a>
pub fn new(client: &'a Client) -> Self
pub fn x_idempotency_key<V>(self, value: V) -> Selfwhere
V: TryInto<CreateEvmSmartAccountXIdempotencyKey>,
pub fn body<V>(self, value: V) -> Selfwhere
V: TryInto<CreateEvmSmartAccountBody>,
<V as TryInto<CreateEvmSmartAccountBody>>::Error: Display,
pub fn body_map<F>(self, f: F) -> Self
Sourcepub async fn send(self) -> Result<ResponseValue<EvmSmartAccount>, Error<Error>>
pub async fn send(self) -> Result<ResponseValue<EvmSmartAccount>, Error<Error>>
Sends a POST
request to /v2/evm/smart-accounts
Trait Implementations§
Source§impl<'a> Clone for CreateEvmSmartAccount<'a>
impl<'a> Clone for CreateEvmSmartAccount<'a>
Source§fn clone(&self) -> CreateEvmSmartAccount<'a>
fn clone(&self) -> CreateEvmSmartAccount<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for CreateEvmSmartAccount<'a>
impl<'a> !RefUnwindSafe for CreateEvmSmartAccount<'a>
impl<'a> Send for CreateEvmSmartAccount<'a>
impl<'a> Sync for CreateEvmSmartAccount<'a>
impl<'a> Unpin for CreateEvmSmartAccount<'a>
impl<'a> !UnwindSafe for CreateEvmSmartAccount<'a>
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