Struct abstract_core::ibc_client::state::AccountData
source · pub struct AccountData {
pub last_update_time: Timestamp,
pub remote_addr: Option<String>,
pub remote_balance: Vec<Coin>,
}
Fields§
§last_update_time: Timestamp
last block balance was updated (0 is never)
remote_addr: Option<String>
In normal cases, it should be set, but there is a delay between binding the channel and making a query and in that time it is empty.
Since we do not have a way to validate the remote address format, this
must not be of type Addr
.
remote_balance: Vec<Coin>
Trait Implementations§
source§impl Clone for AccountData
impl Clone for AccountData
source§fn clone(&self) -> AccountData
fn clone(&self) -> AccountData
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 AccountData
impl Debug for AccountData
source§impl Default for AccountData
impl Default for AccountData
source§fn default() -> AccountData
fn default() -> AccountData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AccountData
impl<'de> Deserialize<'de> for AccountData
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<AccountData> for AccountResponse
impl From<AccountData> for AccountResponse
source§fn from(input: AccountData) -> Self
fn from(input: AccountData) -> Self
Converts to this type from the input type.
source§impl JsonSchema for AccountData
impl JsonSchema for AccountData
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 PartialEq<AccountData> for AccountData
impl PartialEq<AccountData> for AccountData
source§fn eq(&self, other: &AccountData) -> bool
fn eq(&self, other: &AccountData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.