Struct abstract_os::ibc_client::AccountResponse
source · [−]pub struct AccountResponse {
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
remote_balance: Vec<Coin>Trait Implementations
sourceimpl Clone for AccountResponse
impl Clone for AccountResponse
sourcefn clone(&self) -> AccountResponse
fn clone(&self) -> AccountResponse
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 AccountResponse
impl Debug for AccountResponse
sourceimpl<'de> Deserialize<'de> for AccountResponse
impl<'de> Deserialize<'de> for AccountResponse
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 AccountResponse
impl JsonSchema for AccountResponse
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<AccountResponse> for AccountResponse
impl PartialEq<AccountResponse> for AccountResponse
sourcefn eq(&self, other: &AccountResponse) -> bool
fn eq(&self, other: &AccountResponse) -> bool
sourceimpl Serialize for AccountResponse
impl Serialize for AccountResponse
impl StructuralPartialEq for AccountResponse
Auto Trait Implementations
impl RefUnwindSafe for AccountResponse
impl Send for AccountResponse
impl Sync for AccountResponse
impl Unpin for AccountResponse
impl UnwindSafe for AccountResponse
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