Struct abstract_sdk::AccountAction
source · pub struct AccountAction(_);Expand description
Encapsulates an action on the account.
When a method returns an AccountAction, this means this message needs to be dispatched to the account using the [Execution] api.
If required you can create an AccountAction from a CosmosMsg using AccountAction::from(msg).
Implementations§
source§impl AccountAction
impl AccountAction
Trait Implementations§
source§impl Clone for AccountAction
impl Clone for AccountAction
source§fn clone(&self) -> AccountAction
fn clone(&self) -> AccountAction
Returns a copy 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 moresource§impl Debug for AccountAction
impl Debug for AccountAction
source§impl Default for AccountAction
impl Default for AccountAction
source§fn default() -> AccountAction
fn default() -> AccountAction
Returns the “default value” for a type. Read more
source§impl PartialEq<AccountAction> for AccountAction
impl PartialEq<AccountAction> for AccountAction
source§fn eq(&self, other: &AccountAction) -> bool
fn eq(&self, other: &AccountAction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AccountAction
Auto Trait Implementations§
impl RefUnwindSafe for AccountAction
impl Send for AccountAction
impl Sync for AccountAction
impl Unpin for AccountAction
impl UnwindSafe for AccountAction
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