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