pub struct BackTransfersLegacy<A>where
A: ManagedTypeApi,{
pub total_egld_amount: BigUint<A>,
pub esdt_payments: ManagedVec<A, EsdtTokenPayment<A>>,
}
👎Deprecated since 0.59.0: BackTransfers is now used instead, the legacy mechanism doesn’t handle multi-transfers well
Expand description
Holding back-transfer data, as retrieved from the VM.
Fields§
§total_egld_amount: BigUint<A>
👎Deprecated since 0.59.0: BackTransfers is now used instead, the legacy mechanism doesn’t handle multi-transfers well
§esdt_payments: ManagedVec<A, EsdtTokenPayment<A>>
👎Deprecated since 0.59.0: BackTransfers is now used instead, the legacy mechanism doesn’t handle multi-transfers well
Trait Implementations§
Source§impl<A> Clone for BackTransfersLegacy<A>where
A: Clone + ManagedTypeApi,
impl<A> Clone for BackTransfersLegacy<A>where
A: Clone + ManagedTypeApi,
Source§fn clone(&self) -> BackTransfersLegacy<A>
fn clone(&self) -> BackTransfersLegacy<A>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<A> Freeze for BackTransfersLegacy<A>where
<A as HandleTypeInfo>::BigIntHandle: Freeze,
<A as HandleTypeInfo>::ManagedBufferHandle: Freeze,
impl<A> RefUnwindSafe for BackTransfersLegacy<A>where
<A as HandleTypeInfo>::BigIntHandle: RefUnwindSafe,
<A as HandleTypeInfo>::ManagedBufferHandle: RefUnwindSafe,
A: RefUnwindSafe,
impl<A> Send for BackTransfersLegacy<A>where
<A as HandleTypeInfo>::BigIntHandle: Send,
<A as HandleTypeInfo>::ManagedBufferHandle: Send,
A: Send,
impl<A> Sync for BackTransfersLegacy<A>where
<A as HandleTypeInfo>::BigIntHandle: Sync,
<A as HandleTypeInfo>::ManagedBufferHandle: Sync,
A: Sync,
impl<A> Unpin for BackTransfersLegacy<A>where
<A as HandleTypeInfo>::BigIntHandle: Unpin,
<A as HandleTypeInfo>::ManagedBufferHandle: Unpin,
A: Unpin,
impl<A> UnwindSafe for BackTransfersLegacy<A>where
<A as HandleTypeInfo>::BigIntHandle: UnwindSafe,
<A as HandleTypeInfo>::ManagedBufferHandle: UnwindSafe,
A: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
fn interpret_from(from: &T, _context: &InterpreterContext) -> T
Source§impl<T> InterpretableFrom<T> for T
impl<T> InterpretableFrom<T> for T
fn interpret_from(from: T, _context: &InterpreterContext) -> T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more