pub struct Cw1155ReceiveMsg {
pub operator: String,
pub from: Option<String>,
pub token_id: TokenId,
pub amount: Uint128,
pub msg: Binary,
}Expand description
Cw1155ReceiveMsg should be de/serialized under Receive() variant in a ExecuteMsg
Fields§
§operator: StringThe account that executed the send message
from: Option<String>The account that the token transfered from
token_id: TokenId§amount: Uint128§msg: BinaryImplementations§
Source§impl Cw1155ReceiveMsg
impl Cw1155ReceiveMsg
Sourcepub fn into_binary(self) -> StdResult<Binary>
pub fn into_binary(self) -> StdResult<Binary>
serializes the message
Trait Implementations§
Source§impl Clone for Cw1155ReceiveMsg
impl Clone for Cw1155ReceiveMsg
Source§fn clone(&self) -> Cw1155ReceiveMsg
fn clone(&self) -> Cw1155ReceiveMsg
Returns a duplicate 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 Cw1155ReceiveMsg
impl Debug for Cw1155ReceiveMsg
Source§impl<'de> Deserialize<'de> for Cw1155ReceiveMsg
impl<'de> Deserialize<'de> for Cw1155ReceiveMsg
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 Cw1155ReceiveMsg
impl JsonSchema for Cw1155ReceiveMsg
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(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &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 Cw1155ReceiveMsg
impl PartialEq for Cw1155ReceiveMsg
Source§impl Serialize for Cw1155ReceiveMsg
impl Serialize for Cw1155ReceiveMsg
impl StructuralPartialEq for Cw1155ReceiveMsg
Auto Trait Implementations§
impl Freeze for Cw1155ReceiveMsg
impl RefUnwindSafe for Cw1155ReceiveMsg
impl Send for Cw1155ReceiveMsg
impl Sync for Cw1155ReceiveMsg
impl Unpin for Cw1155ReceiveMsg
impl UnwindSafe for Cw1155ReceiveMsg
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