Struct cw1155::Cw1155ReceiveMsg
source · [−]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: String
The account that executed the send message
from: Option<String>
The account that the token transfered from
token_id: TokenId
amount: Uint128
msg: Binary
Implementations
sourceimpl Cw1155ReceiveMsg
impl Cw1155ReceiveMsg
sourcepub fn into_binary(self) -> StdResult<Binary>
pub fn into_binary(self) -> StdResult<Binary>
serializes the message
Trait Implementations
sourceimpl Clone for Cw1155ReceiveMsg
impl Clone for Cw1155ReceiveMsg
sourcefn clone(&self) -> Cw1155ReceiveMsg
fn clone(&self) -> Cw1155ReceiveMsg
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 Cw1155ReceiveMsg
impl Debug for Cw1155ReceiveMsg
sourceimpl<'de> Deserialize<'de> for Cw1155ReceiveMsg
impl<'de> Deserialize<'de> for Cw1155ReceiveMsg
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 Cw1155ReceiveMsg
impl JsonSchema for Cw1155ReceiveMsg
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<Cw1155ReceiveMsg> for Cw1155ReceiveMsg
impl PartialEq<Cw1155ReceiveMsg> for Cw1155ReceiveMsg
sourcefn eq(&self, other: &Cw1155ReceiveMsg) -> bool
fn eq(&self, other: &Cw1155ReceiveMsg) -> bool
sourceimpl Serialize for Cw1155ReceiveMsg
impl Serialize for Cw1155ReceiveMsg
impl StructuralPartialEq for Cw1155ReceiveMsg
Auto Trait Implementations
impl RefUnwindSafe for Cw1155ReceiveMsg
impl Send for Cw1155ReceiveMsg
impl Sync for Cw1155ReceiveMsg
impl Unpin for Cw1155ReceiveMsg
impl UnwindSafe for Cw1155ReceiveMsg
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