pub struct UpdateEvmSmartAccount<'a> { /* private fields */ }
Expand description
Builder for [Client::update_evm_smart_account
]
[`Client::update_evm_smart_account`]: super::Client::update_evm_smart_account
Implementations§
Source§impl<'a> UpdateEvmSmartAccount<'a>
impl<'a> UpdateEvmSmartAccount<'a>
pub fn new(client: &'a Client) -> Self
pub fn address<V>(self, value: V) -> Selfwhere
V: TryInto<UpdateEvmSmartAccountAddress>,
pub fn body<V>(self, value: V) -> Selfwhere
V: TryInto<UpdateEvmSmartAccountBody>,
<V as TryInto<UpdateEvmSmartAccountBody>>::Error: Display,
pub fn body_map<F>(self, f: F) -> Self
Sourcepub async fn send(self) -> Result<ResponseValue<EvmSmartAccount>, Error<Error>>
pub async fn send(self) -> Result<ResponseValue<EvmSmartAccount>, Error<Error>>
Sends a PUT
request to /v2/evm/smart-accounts/{address}
Trait Implementations§
Source§impl<'a> Clone for UpdateEvmSmartAccount<'a>
impl<'a> Clone for UpdateEvmSmartAccount<'a>
Source§fn clone(&self) -> UpdateEvmSmartAccount<'a>
fn clone(&self) -> UpdateEvmSmartAccount<'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 UpdateEvmSmartAccount<'a>
impl<'a> !RefUnwindSafe for UpdateEvmSmartAccount<'a>
impl<'a> Send for UpdateEvmSmartAccount<'a>
impl<'a> Sync for UpdateEvmSmartAccount<'a>
impl<'a> Unpin for UpdateEvmSmartAccount<'a>
impl<'a> !UnwindSafe for UpdateEvmSmartAccount<'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