Struct multiversx_sc_scenario::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 ) -> Self
pub fn gas_limit<V>(self, value: V) -> Self
Trait Implementations§
source§impl Clone for TransferStep
impl Clone for TransferStep
source§fn clone(&self) -> TransferStep
fn clone(&self) -> TransferStep
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§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
Auto Trait Implementations§
impl CodecFromSelf for TransferStep
impl RefUnwindSafe for TransferStep
impl Send for TransferStep
impl Sync for TransferStep
impl Unpin for TransferStep
impl UnwindSafe for TransferStep
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more