multiversx_sc::types

Trait TxFromSpecified

Source
pub trait TxFromSpecified<Env>: TxFrom<Env> + AnnotatedValue<Env, ManagedAddress<Env::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 &Address
where Env: TxEnv,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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