Struct abstract_core_testing::ibc_client::AccountInfo
source · pub struct AccountInfo {
pub channel_id: String,
pub account_id: AccountId,
pub last_update_time: Timestamp,
pub remote_addr: Option<String>,
pub remote_balance: Vec<Coin>,
}
Fields§
§channel_id: String
§account_id: AccountId
§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
remote_balance: Vec<Coin>
Implementations§
source§impl AccountInfo
impl AccountInfo
sourcepub fn convert(
channel_id: String,
account_id: AccountId,
input: AccountData
) -> Self
pub fn convert( channel_id: String, account_id: AccountId, input: AccountData ) -> Self
Use the provided channel_id and account_id to create a new AccountInfo
based off of the provided input AccountData
.
Trait Implementations§
source§impl Clone for AccountInfo
impl Clone for AccountInfo
source§fn clone(&self) -> AccountInfo
fn clone(&self) -> AccountInfo
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 AccountInfo
impl Debug for AccountInfo
source§impl<'de> Deserialize<'de> for AccountInfo
impl<'de> Deserialize<'de> for AccountInfo
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 JsonSchema for AccountInfo
impl JsonSchema for AccountInfo
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<AccountInfo> for AccountInfo
impl PartialEq<AccountInfo> for AccountInfo
source§fn eq(&self, other: &AccountInfo) -> bool
fn eq(&self, other: &AccountInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AccountInfo
impl Serialize for AccountInfo
impl StructuralPartialEq for AccountInfo
Auto Trait Implementations§
impl RefUnwindSafe for AccountInfo
impl Send for AccountInfo
impl Sync for AccountInfo
impl Unpin for AccountInfo
impl UnwindSafe for AccountInfo
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