Struct cw20_ics20::state::ChannelState
source · pub struct ChannelState {
pub outstanding: Uint128,
pub total_sent: Uint128,
}
Fields§
§outstanding: Uint128
§total_sent: Uint128
Trait Implementations§
source§impl Clone for ChannelState
impl Clone for ChannelState
source§fn clone(&self) -> ChannelState
fn clone(&self) -> ChannelState
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 ChannelState
impl Debug for ChannelState
source§impl Default for ChannelState
impl Default for ChannelState
source§fn default() -> ChannelState
fn default() -> ChannelState
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ChannelState
impl<'de> Deserialize<'de> for ChannelState
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 ChannelState
impl JsonSchema for ChannelState
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. 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 for ChannelState
impl PartialEq for ChannelState
source§fn eq(&self, other: &ChannelState) -> bool
fn eq(&self, other: &ChannelState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ChannelState
impl Serialize for ChannelState
impl StructuralPartialEq for ChannelState
Auto Trait Implementations§
impl Freeze for ChannelState
impl RefUnwindSafe for ChannelState
impl Send for ChannelState
impl Sync for ChannelState
impl Unpin for ChannelState
impl UnwindSafe for ChannelState
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