pub struct CreateInternalTransferParams {
pub asset_id: u32,
pub quantity: AssetAmount,
pub idempotency_key: String,
pub subaccount_id: Option<u64>,
pub destination_account_id: Option<String>,
pub destination_subaccount_id: Option<String>,
pub destination_smart_account_address: Option<String>,
pub quantity_scale: Option<u32>,
}Expand description
Typed internal-transfer create params.
Fields§
§asset_id: u32§quantity: AssetAmount§idempotency_key: String§subaccount_id: Option<u64>§destination_account_id: Option<String>§destination_subaccount_id: Option<String>§destination_smart_account_address: Option<String>§quantity_scale: Option<u32>Input quantity scale when quantity does not carry one. Wire
amount_e18 is always rescaled exactly to 18 decimals.
Trait Implementations§
Source§impl Clone for CreateInternalTransferParams
impl Clone for CreateInternalTransferParams
Source§fn clone(&self) -> CreateInternalTransferParams
fn clone(&self) -> CreateInternalTransferParams
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 moreAuto Trait Implementations§
impl Freeze for CreateInternalTransferParams
impl RefUnwindSafe for CreateInternalTransferParams
impl Send for CreateInternalTransferParams
impl Sync for CreateInternalTransferParams
impl Unpin for CreateInternalTransferParams
impl UnsafeUnpin for CreateInternalTransferParams
impl UnwindSafe for CreateInternalTransferParams
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