Struct multiversx_chain_vm::scenario::model::TransferStep
source · pub struct TransferStep {
pub id: String,
pub tx_id: Option<String>,
pub comment: Option<String>,
pub tx: Box<TxTransfer>,
}Fields§
§id: String§tx_id: Option<String>§comment: Option<String>§tx: Box<TxTransfer>Implementations§
source§impl TransferStep
impl TransferStep
pub fn new() -> Self
pub fn from<A>(self, address: A) -> Selfwhere
AddressValue: From<A>,
pub fn to<A>(self, address: A) -> Selfwhere
AddressValue: From<A>,
pub fn egld_value<A>(self, amount: A) -> Selfwhere
BigUintValue: From<A>,
pub fn esdt_transfer<T, N, A>(self, token_id: T, token_nonce: N, amount: A) -> Selfwhere
BytesValue: From<T>,
U64Value: From<N>,
BigUintValue: From<A>,
pub fn gas_limit<V>(self, value: V) -> Selfwhere
U64Value: From<V>,
Trait Implementations§
source§impl Debug for TransferStep
impl Debug for TransferStep
source§impl Default for TransferStep
impl Default for TransferStep
source§fn default() -> TransferStep
fn default() -> TransferStep
Returns the “default value” for a type. Read more