Struct abstract_core::manager::state::AccountInfo
source · pub struct AccountInfo<T: AddressLike = Addr> {
pub name: String,
pub governance_details: GovernanceDetails<T>,
pub chain_id: String,
pub description: Option<String>,
pub link: Option<String>,
}
Fields§
§name: String
§governance_details: GovernanceDetails<T>
§chain_id: String
§description: Option<String>
§link: Option<String>
Implementations§
source§impl AccountInfo<String>
impl AccountInfo<String>
pub fn verify(self, api: &dyn Api) -> Result<AccountInfo<Addr>, AbstractError>
Trait Implementations§
source§impl<T: Clone + AddressLike> Clone for AccountInfo<T>
impl<T: Clone + AddressLike> Clone for AccountInfo<T>
source§fn clone(&self) -> AccountInfo<T>
fn clone(&self) -> AccountInfo<T>
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<T: Debug + AddressLike> Debug for AccountInfo<T>
impl<T: Debug + AddressLike> Debug for AccountInfo<T>
source§impl<'de, T> Deserialize<'de> for AccountInfo<T>where
T: Deserialize<'de> + AddressLike,
impl<'de, T> Deserialize<'de> for AccountInfo<T>where T: Deserialize<'de> + AddressLike,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<AccountInfo<Addr>> for AccountInfo<String>
impl From<AccountInfo<Addr>> for AccountInfo<String>
source§fn from(value: AccountInfo<Addr>) -> Self
fn from(value: AccountInfo<Addr>) -> Self
Converts to this type from the input type.
source§impl<T: AddressLike + JsonSchema> JsonSchema for AccountInfo<T>
impl<T: AddressLike + JsonSchema> JsonSchema for AccountInfo<T>
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &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<T: PartialEq + AddressLike> PartialEq<AccountInfo<T>> for AccountInfo<T>
impl<T: PartialEq + AddressLike> PartialEq<AccountInfo<T>> for AccountInfo<T>
source§fn eq(&self, other: &AccountInfo<T>) -> bool
fn eq(&self, other: &AccountInfo<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.