Enum cw721::Cw721ExecuteMsg [−][src]
pub enum Cw721ExecuteMsg {
TransferNft {
recipient: String,
token_id: String,
},
SendNft {
contract: String,
token_id: String,
msg: Binary,
},
Approve {
spender: String,
token_id: String,
expires: Option<Expiration>,
},
Revoke {
spender: String,
token_id: String,
},
ApproveAll {
operator: String,
expires: Option<Expiration>,
},
RevokeAll {
operator: String,
},
}Variants
Transfer is a base message to move a token to another account without triggering actions
Send is a base message to transfer a token to a contract and trigger an action on the receiving contract.
Allows operator to transfer / send the token from the owner’s account. If expiration is set, then this allowance has a time/height limit
Fields of Approve
Remove previously granted Approval
Allows operator to transfer / send any token from the owner’s account. If expiration is set, then this allowance has a time/height limit
Fields of ApproveAll
operator: Stringexpires: Option<Expiration>Remove previously granted ApproveAll permission
Fields of RevokeAll
operator: StringTrait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for Cw721ExecuteMsg
impl Send for Cw721ExecuteMsg
impl Sync for Cw721ExecuteMsg
impl Unpin for Cw721ExecuteMsg
impl UnwindSafe for Cw721ExecuteMsg
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self