multiversx_sc_snippets::imports

Trait TxNoPayment

Source
pub trait TxNoPayment<Env>: TxPayment<Env>
where Env: TxEnv,
{ }
Expand description

Marker trait that indicates that payment field contains no payment.

Implemented by () and NotPayable.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<Env> TxNoPayment<Env> for ()
where Env: TxEnv,

Implementors§

Source§

impl<Env> TxNoPayment<Env> for NotPayable
where Env: TxEnv,