Struct abstract_sdk::AccountAction
source · pub struct AccountAction(/* private fields */);
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<T> From<T> for AccountAction
impl<T> From<T> for AccountAction
source§impl PartialEq for AccountAction
impl PartialEq 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§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self
to type T
. The semantics of numeric casting with the as
operator are followed, so <T as As>::as_::<U>
can be used in the same way as T as U
for numeric conversions. Read moresource§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