pub struct Account<T = Addr>(/* private fields */);
Expand description
Contains the minimal Abstract Account contract addresses.
Implementations§
Trait Implementations§
Source§impl AccountIdentification for Account
impl AccountIdentification for Account
Source§fn account_id(&self, deps: Deps<'_>) -> AbstractSdkResult<AccountId>
fn account_id(&self, deps: Deps<'_>) -> AbstractSdkResult<AccountId>
Get the Account id for the current account.
Source§impl<'de, T> Deserialize<'de> for Account<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Account<T>where
T: Deserialize<'de>,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Account<T>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Account<T>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<T> JsonSchema for Account<T>where
T: JsonSchema,
impl<T> JsonSchema for Account<T>where
T: JsonSchema,
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreSource§impl ModuleIdentification for Account
impl ModuleIdentification for Account
Source§impl<T> Serialize for Account<T>where
T: Serialize,
impl<T> Serialize for Account<T>where
T: Serialize,
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<T> StructuralPartialEq for Account<T>
Auto Trait Implementations§
impl<T> Freeze for Account<T>where
T: Freeze,
impl<T> RefUnwindSafe for Account<T>where
T: RefUnwindSafe,
impl<T> Send for Account<T>where
T: Send,
impl<T> Sync for Account<T>where
T: Sync,
impl<T> Unpin for Account<T>where
T: Unpin,
impl<T> UnwindSafe for Account<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> AbstractResponse for Twhere
T: ModuleIdentification,
impl<T> AbstractResponse for Twhere
T: ModuleIdentification,
Source§fn response(&self, action: impl Into<String>) -> Response
fn response(&self, action: impl Into<String>) -> Response
Respond with an abstract-specific event that contains the contract name and the action.
Source§fn custom_response(
&self,
action: impl Into<String>,
attributes: impl IntoIterator<Item = impl Into<Attribute>>,
) -> Response
fn custom_response( &self, action: impl Into<String>, attributes: impl IntoIterator<Item = impl Into<Attribute>>, ) -> Response
.response()
with additional attributes.Source§impl<T> AccountExecutor for Twhere
T: AccountIdentification,
impl<T> AccountExecutor for Twhere
T: AccountIdentification,
Source§fn execute_on_account(
&self,
deps: Deps<'_>,
msg: &ExecuteMsg,
funds: Vec<Coin>,
) -> AbstractSdkResult<CosmosMsg>
fn execute_on_account( &self, deps: Deps<'_>, msg: &ExecuteMsg, funds: Vec<Coin>, ) -> AbstractSdkResult<CosmosMsg>
Execute method on account contract
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Execution for Twhere
T: AccountExecutor + ModuleIdentification,
impl<T> Execution for Twhere
T: AccountExecutor + ModuleIdentification,
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