pub struct SendEvmAssetWithEndUserAccount<'a> { /* private fields */ }Expand description
Builder for [Client::send_evm_asset_with_end_user_account]
[`Client::send_evm_asset_with_end_user_account`]: super::Client::send_evm_asset_with_end_user_accountImplementations§
Source§impl<'a> SendEvmAssetWithEndUserAccount<'a>
impl<'a> SendEvmAssetWithEndUserAccount<'a>
pub fn new(client: &'a Client) -> Self
pub fn user_id<V>(self, value: V) -> Selfwhere
V: TryInto<SendEvmAssetWithEndUserAccountUserId>,
pub fn address<V>(self, value: V) -> Selfwhere
V: TryInto<BlockchainAddress>,
pub fn asset<V>(self, value: V) -> Self
pub fn project_id<V>(self, value: V) -> Selfwhere
V: TryInto<SendEvmAssetWithEndUserAccountProjectId>,
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<SendEvmAssetWithEndUserAccountBody>,
<V as TryInto<SendEvmAssetWithEndUserAccountBody>>::Error: Display,
pub fn body_map<F>(self, f: F) -> Self
Sourcepub async fn send(
self,
) -> Result<ResponseValue<SendEvmAssetWithEndUserAccountResponse>, Error<Error>>
pub async fn send( self, ) -> Result<ResponseValue<SendEvmAssetWithEndUserAccountResponse>, Error<Error>>
Sends a POST request to /v2/embedded-wallet-api/end-users/{userId}/evm/{address}/send/{asset}
Trait Implementations§
Source§impl<'a> Clone for SendEvmAssetWithEndUserAccount<'a>
impl<'a> Clone for SendEvmAssetWithEndUserAccount<'a>
Source§fn clone(&self) -> SendEvmAssetWithEndUserAccount<'a>
fn clone(&self) -> SendEvmAssetWithEndUserAccount<'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 SendEvmAssetWithEndUserAccount<'a>
impl<'a> !RefUnwindSafe for SendEvmAssetWithEndUserAccount<'a>
impl<'a> Send for SendEvmAssetWithEndUserAccount<'a>
impl<'a> Sync for SendEvmAssetWithEndUserAccount<'a>
impl<'a> Unpin for SendEvmAssetWithEndUserAccount<'a>
impl<'a> UnsafeUnpin for SendEvmAssetWithEndUserAccount<'a>
impl<'a> !UnwindSafe for SendEvmAssetWithEndUserAccount<'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