Struct abstract_os::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: Timestamplast 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
sourceimpl Clone for AccountData
impl Clone for AccountData
sourcefn clone(&self) -> AccountData
fn clone(&self) -> AccountData
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for AccountData
impl Debug for AccountData
sourceimpl Default for AccountData
impl Default for AccountData
sourcefn default() -> AccountData
fn default() -> AccountData
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AccountData
impl<'de> Deserialize<'de> for AccountData
sourcefn 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
sourceimpl From<AccountData> for AccountResponse
impl From<AccountData> for AccountResponse
sourcefn from(input: AccountData) -> Self
fn from(input: AccountData) -> Self
Converts to this type from the input type.
sourceimpl JsonSchema for AccountData
impl JsonSchema for AccountData
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn 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 moresourceimpl PartialEq<AccountData> for AccountData
impl PartialEq<AccountData> for AccountData
sourcefn eq(&self, other: &AccountData) -> bool
fn eq(&self, other: &AccountData) -> bool
sourceimpl Serialize for AccountData
impl Serialize for AccountData
impl StructuralPartialEq for AccountData
Auto Trait Implementations
impl RefUnwindSafe for AccountData
impl Send for AccountData
impl Sync for AccountData
impl Unpin for AccountData
impl UnwindSafe for AccountData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more