Struct cw20_ics20::msg::TransferMsg
source · pub struct TransferMsg {
pub channel: String,
pub remote_address: String,
pub timeout: Option<u64>,
pub memo: Option<String>,
}
Expand description
This is the message we accept via Receive
Fields§
§channel: String
The local channel to send the packets on
remote_address: String
The remote address to send to. Don’t use HumanAddress as this will likely have a different Bech32 prefix than we use and cannot be validated locally
timeout: Option<u64>
How long the packet lives in seconds. If not specified, use default_timeout
memo: Option<String>
An optional memo to add to the IBC transfer
Trait Implementations§
source§impl Clone for TransferMsg
impl Clone for TransferMsg
source§fn clone(&self) -> TransferMsg
fn clone(&self) -> TransferMsg
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 TransferMsg
impl Debug for TransferMsg
source§impl<'de> Deserialize<'de> for TransferMsg
impl<'de> Deserialize<'de> for TransferMsg
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 TransferMsg
impl JsonSchema for TransferMsg
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 TransferMsg
impl PartialEq for TransferMsg
source§fn eq(&self, other: &TransferMsg) -> bool
fn eq(&self, other: &TransferMsg) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TransferMsg
impl Serialize for TransferMsg
impl StructuralPartialEq for TransferMsg
Auto Trait Implementations§
impl Freeze for TransferMsg
impl RefUnwindSafe for TransferMsg
impl Send for TransferMsg
impl Sync for TransferMsg
impl Unpin for TransferMsg
impl UnwindSafe for TransferMsg
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