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() -> TransferStep
pub fn from<A>(self, address: A) -> TransferStepwhere
AddressValue: From<A>,
pub fn to<A>(self, address: A) -> TransferStepwhere
AddressValue: From<A>,
pub fn egld_value<A>(self, amount: A) -> TransferStepwhere
BigUintValue: From<A>,
pub fn esdt_transfer<T, N, A>( self, token_id: T, token_nonce: N, amount: A, ) -> TransferStep
pub fn gas_limit<V>(self, value: V) -> TransferStep
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 Freeze 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
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