multiversx_sc_scenario::imports

Trait TxFromSpecified

Source
pub trait TxFromSpecified<Env>: TxFrom<Env> + AnnotatedValue<Env, ManagedAddress<<Env as TxEnv>::Api>>
where Env: TxEnv,
{ }
Expand description

Marks the non-empty sender of a transaction.

Enforces the reciipent to be explicitly specified.

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.

Implementors§

Source§

impl<Env> TxFromSpecified<Env> for &AddressValue
where Env: TxEnv,

Source§

impl<Env> TxFromSpecified<Env> for &Address
where Env: TxEnv,

Source§

impl<Env> TxFromSpecified<Env> for &Bech32Address
where Env: TxEnv,

Source§

impl<Env> TxFromSpecified<Env> for &ManagedAddress<<Env as TxEnv>::Api>
where Env: TxEnv,

Source§

impl<Env> TxFromSpecified<Env> for AddressValue
where Env: TxEnv,

Source§

impl<Env> TxFromSpecified<Env> for Address
where Env: TxEnv,

Source§

impl<Env> TxFromSpecified<Env> for Bech32Address
where Env: TxEnv,

Source§

impl<Env> TxFromSpecified<Env> for ManagedAddress<<Env as TxEnv>::Api>
where Env: TxEnv,

Source§

impl<Env> TxFromSpecified<Env> for TestAddress<'_>
where Env: TxEnv,

Source§

impl<Env> TxFromSpecified<Env> for TestSCAddress<'_>
where Env: TxEnv,

Source§

impl<P, Env> TxFromSpecified<Env> for &ContractInfo<P>
where Env: TxEnv, P: ProxyObjNew,