pub struct AddEndUserEvmSmartAccount<'a> { /* private fields */ }Expand description
Builder for [Client::add_end_user_evm_smart_account]
[`Client::add_end_user_evm_smart_account`]: super::Client::add_end_user_evm_smart_accountImplementations§
Source§impl<'a> AddEndUserEvmSmartAccount<'a>
impl<'a> AddEndUserEvmSmartAccount<'a>
pub fn new(client: &'a Client) -> Self
pub fn user_id<V>(self, value: V) -> Selfwhere
V: TryInto<AddEndUserEvmSmartAccountUserId>,
pub fn x_idempotency_key<V>(self, value: V) -> Selfwhere
V: TryInto<AddEndUserEvmSmartAccountXIdempotencyKey>,
pub fn x_wallet_auth<V>(self, value: V) -> Self
pub fn body<V>(self, value: V) -> Selfwhere
V: TryInto<AddEndUserEvmSmartAccountBody>,
<V as TryInto<AddEndUserEvmSmartAccountBody>>::Error: Display,
pub fn body_map<F>(self, f: F) -> Self
Sourcepub async fn send(
self,
) -> Result<ResponseValue<AddEndUserEvmSmartAccountResponse>, Error<Error>>
pub async fn send( self, ) -> Result<ResponseValue<AddEndUserEvmSmartAccountResponse>, Error<Error>>
Sends a POST request to /v2/end-users/{userId}/evm-smart-account
Trait Implementations§
Source§impl<'a> Clone for AddEndUserEvmSmartAccount<'a>
impl<'a> Clone for AddEndUserEvmSmartAccount<'a>
Source§fn clone(&self) -> AddEndUserEvmSmartAccount<'a>
fn clone(&self) -> AddEndUserEvmSmartAccount<'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 AddEndUserEvmSmartAccount<'a>
impl<'a> !RefUnwindSafe for AddEndUserEvmSmartAccount<'a>
impl<'a> Send for AddEndUserEvmSmartAccount<'a>
impl<'a> Sync for AddEndUserEvmSmartAccount<'a>
impl<'a> Unpin for AddEndUserEvmSmartAccount<'a>
impl<'a> UnsafeUnpin for AddEndUserEvmSmartAccount<'a>
impl<'a> !UnwindSafe for AddEndUserEvmSmartAccount<'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