pub struct SendUserOperationWithEndUserAccount<'a> { /* private fields */ }Expand description
Builder for [Client::send_user_operation_with_end_user_account]
[`Client::send_user_operation_with_end_user_account`]: super::Client::send_user_operation_with_end_user_accountImplementations§
Source§impl<'a> SendUserOperationWithEndUserAccount<'a>
impl<'a> SendUserOperationWithEndUserAccount<'a>
pub fn new(client: &'a Client) -> Self
pub fn user_id<V>(self, value: V) -> Selfwhere
V: TryInto<SendUserOperationWithEndUserAccountUserId>,
pub fn address<V>(self, value: V) -> Self
pub fn project_id<V>(self, value: V) -> Self
pub fn x_developer_auth<V>(self, value: V) -> Self
pub fn x_idempotency_key<V>(self, value: V) -> Self
pub fn x_wallet_auth<V>(self, value: V) -> Self
pub fn body<V>(self, value: V) -> Selfwhere
V: TryInto<SendUserOperationWithEndUserAccountBody>,
<V as TryInto<SendUserOperationWithEndUserAccountBody>>::Error: Display,
pub fn body_map<F>(self, f: F) -> Self
Sourcepub async fn send(self) -> Result<ResponseValue<EvmUserOperation>, Error<Error>>
pub async fn send(self) -> Result<ResponseValue<EvmUserOperation>, Error<Error>>
Sends a POST request to /v2/embedded-wallet-api/end-users/{userId}/evm/smart-accounts/{address}/send
Trait Implementations§
Source§impl<'a> Clone for SendUserOperationWithEndUserAccount<'a>
impl<'a> Clone for SendUserOperationWithEndUserAccount<'a>
Source§fn clone(&self) -> SendUserOperationWithEndUserAccount<'a>
fn clone(&self) -> SendUserOperationWithEndUserAccount<'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 SendUserOperationWithEndUserAccount<'a>
impl<'a> !RefUnwindSafe for SendUserOperationWithEndUserAccount<'a>
impl<'a> Send for SendUserOperationWithEndUserAccount<'a>
impl<'a> Sync for SendUserOperationWithEndUserAccount<'a>
impl<'a> Unpin for SendUserOperationWithEndUserAccount<'a>
impl<'a> UnsafeUnpin for SendUserOperationWithEndUserAccount<'a>
impl<'a> !UnwindSafe for SendUserOperationWithEndUserAccount<'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