Struct abstract_os::ibc_client::AccountInfo
source · [−]pub struct AccountInfo {
pub channel_id: String,
pub os_id: u32,
pub last_update_time: Timestamp,
pub remote_addr: Option<String>,
pub remote_balance: Vec<Coin>,
}Fields
channel_id: Stringos_id: u32last_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
remote_balance: Vec<Coin>Implementations
sourceimpl AccountInfo
impl AccountInfo
pub fn convert(channel_id: String, os_id: u32, input: AccountData) -> Self
Trait Implementations
sourceimpl Clone for AccountInfo
impl Clone for AccountInfo
sourcefn clone(&self) -> AccountInfo
fn clone(&self) -> AccountInfo
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 AccountInfo
impl Debug for AccountInfo
sourceimpl<'de> Deserialize<'de> for AccountInfo
impl<'de> Deserialize<'de> for AccountInfo
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 JsonSchema for AccountInfo
impl JsonSchema for AccountInfo
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<AccountInfo> for AccountInfo
impl PartialEq<AccountInfo> for AccountInfo
sourcefn eq(&self, other: &AccountInfo) -> bool
fn eq(&self, other: &AccountInfo) -> bool
sourceimpl 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
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