Struct multiversx_sc_scenario::scenario_model::TxTransfer
source · pub struct TxTransfer {
pub from: AddressValue,
pub to: AddressValue,
pub egld_value: BigUintValue,
pub esdt_value: Vec<TxESDT, Global>,
pub gas_limit: U64Value,
pub gas_price: U64Value,
}
Fields§
§from: AddressValue
§to: AddressValue
§egld_value: BigUintValue
§esdt_value: Vec<TxESDT, Global>
§gas_limit: U64Value
§gas_price: U64Value
Implementations§
source§impl TxTransfer
impl TxTransfer
sourcepub fn to_tx_call(&self) -> TxCall
pub fn to_tx_call(&self) -> TxCall
Converts to a TxCall, with empty endpoint and arguments.
Trait Implementations§
source§impl Debug for TxTransfer
impl Debug for TxTransfer
source§impl Default for TxTransfer
impl Default for TxTransfer
source§fn default() -> TxTransfer
fn default() -> TxTransfer
Returns the “default value” for a type. Read more
source§impl InterpretableFrom<TxTransferRaw> for TxTransfer
impl InterpretableFrom<TxTransferRaw> for TxTransfer
fn interpret_from( from: TxTransferRaw, context: &InterpreterContext ) -> TxTransfer
Auto Trait Implementations§
impl CodecFromSelf for TxTransfer
impl RefUnwindSafe for TxTransfer
impl Send for TxTransfer
impl Sync for TxTransfer
impl Unpin for TxTransfer
impl UnwindSafe for TxTransfer
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