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 Freeze for AccountAction
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more