pub struct ScenarioPayments<Api>where
Api: ManagedTypeApi,{
pub egld: Option<AnnotatedEgldPayment<Api>>,
pub multi_esdt: PaymentVec<Api>,
}Expand description
Intermediate representation for generating payments in tx steps in scenarios.
It traces back to the Mandos payment syntax, either "egldValue": "..." or "esdtValue": [...].
Fields§
§egld: Option<AnnotatedEgldPayment<Api>>§multi_esdt: PaymentVec<Api>Trait Implementations§
Source§impl<Api> Clone for ScenarioPayments<Api>where
Api: ManagedTypeApi + Clone,
impl<Api> Clone for ScenarioPayments<Api>where
Api: ManagedTypeApi + Clone,
Source§fn clone(&self) -> ScenarioPayments<Api>
fn clone(&self) -> ScenarioPayments<Api>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<Api> Default for ScenarioPayments<Api>where
Api: ManagedTypeApi,
impl<Api> Default for ScenarioPayments<Api>where
Api: ManagedTypeApi,
Auto Trait Implementations§
impl<Api> Freeze for ScenarioPayments<Api>where
<Api as HandleTypeInfo>::ManagedBufferHandle: Freeze,
<Api as HandleTypeInfo>::BigIntHandle: Freeze,
impl<Api> RefUnwindSafe for ScenarioPayments<Api>where
<Api as HandleTypeInfo>::ManagedBufferHandle: RefUnwindSafe,
<Api as HandleTypeInfo>::BigIntHandle: RefUnwindSafe,
Api: RefUnwindSafe,
impl<Api> Send for ScenarioPayments<Api>where
<Api as HandleTypeInfo>::ManagedBufferHandle: Send,
<Api as HandleTypeInfo>::BigIntHandle: Send,
Api: Send,
impl<Api> Sync for ScenarioPayments<Api>where
<Api as HandleTypeInfo>::ManagedBufferHandle: Sync,
<Api as HandleTypeInfo>::BigIntHandle: Sync,
Api: Sync,
impl<Api> Unpin for ScenarioPayments<Api>where
<Api as HandleTypeInfo>::ManagedBufferHandle: Unpin,
<Api as HandleTypeInfo>::BigIntHandle: Unpin,
Api: Unpin,
impl<Api> UnsafeUnpin for ScenarioPayments<Api>where
<Api as HandleTypeInfo>::ManagedBufferHandle: UnsafeUnpin,
<Api as HandleTypeInfo>::BigIntHandle: UnsafeUnpin,
impl<Api> UnwindSafe for ScenarioPayments<Api>where
<Api as HandleTypeInfo>::ManagedBufferHandle: UnwindSafe,
<Api as HandleTypeInfo>::BigIntHandle: UnwindSafe,
Api: UnwindSafe,
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