pub struct TransferOperationConfigParams {
pub amount: Option<String>,
pub asset_id: Option<String>,
pub source: Option<Account>,
pub destination: Destination,
}
Fields§
§amount: Option<String>
The amount to transfer
asset_id: Option<String>
The assed ID to transfer
source: Option<Account>
§destination: Destination
Implementations§
Source§impl TransferOperationConfigParams
impl TransferOperationConfigParams
pub fn new(destination: Destination) -> TransferOperationConfigParams
Trait Implementations§
Source§impl Clone for TransferOperationConfigParams
impl Clone for TransferOperationConfigParams
Source§fn clone(&self) -> TransferOperationConfigParams
fn clone(&self) -> TransferOperationConfigParams
Returns a duplicate 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 Default for TransferOperationConfigParams
impl Default for TransferOperationConfigParams
Source§fn default() -> TransferOperationConfigParams
fn default() -> TransferOperationConfigParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransferOperationConfigParams
impl<'de> Deserialize<'de> for TransferOperationConfigParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TransferOperationConfigParams
impl PartialEq for TransferOperationConfigParams
Source§fn eq(&self, other: &TransferOperationConfigParams) -> bool
fn eq(&self, other: &TransferOperationConfigParams) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for TransferOperationConfigParams
Auto Trait Implementations§
impl Freeze for TransferOperationConfigParams
impl RefUnwindSafe for TransferOperationConfigParams
impl Send for TransferOperationConfigParams
impl Sync for TransferOperationConfigParams
impl Unpin for TransferOperationConfigParams
impl UnwindSafe for TransferOperationConfigParams
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