Skip to main content

Cw721CustomMsg

Trait Cw721CustomMsg 

Source
pub trait Cw721CustomMsg:
    Serialize
    + Clone
    + Debug
    + PartialEq
    + JsonSchema { }
Expand description

This is an exact copy of CustomMsg, since implementing a trait for a type from another crate is not possible.

Possible: impl<T> Cw721CustomMsg for Option<T> where T: Cw721CustomMsg {}

Not possible: impl<T> CustomMsg for Option<T> where T: CustomMsg {}

This will be removed once the CustomMsg trait is moved to the cosmwasm_std crate: https://github.com/CosmWasm/cosmwasm/issues/2056

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Cw721CustomMsg for Empty

Source§

impl<T> Cw721CustomMsg for Option<T>
where T: Cw721CustomMsg,

Implementors§

Source§

impl Cw721CustomMsg for NftExtensionMsg

Source§

impl Cw721CustomMsg for RoyaltyInfo

Source§

impl Cw721CustomMsg for RoyaltyInfoResponse

Source§

impl<TRoyaltyInfoResponse> Cw721CustomMsg for CollectionExtensionMsg<TRoyaltyInfoResponse>
where TRoyaltyInfoResponse: Cw721CustomMsg,