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