pub struct CreateWalletTradingWithdrawParams {
pub action: String,
pub asset_id: u32,
pub amount: AssetAmount,
pub idempotency_key: String,
pub payload_signature: Vec<u8>,
pub signer_wallet: String,
pub destination_chain_id: u64,
pub destination_address: String,
pub subaccount_id: Option<u64>,
pub amount_scale: Option<u32>,
pub deadline_ts_sec: Option<u64>,
pub nonce: u128,
}Expand description
Typed wallet trading-withdraw create params.
Fields§
§action: String§asset_id: u32§amount: AssetAmount§idempotency_key: String§payload_signature: Vec<u8>§signer_wallet: String§destination_chain_id: u64§destination_address: String§subaccount_id: Option<u64>§amount_scale: Option<u32>Input amount scale when amount does not carry one. Wire amount_e18
is always rescaled exactly to 18 decimals.
deadline_ts_sec: Option<u64>Exact deadline covered by payload_signature. Required for this
precomputed-signature path.
nonce: u128Non-zero nonce included in the signed withdrawal payload.
Trait Implementations§
Source§impl Clone for CreateWalletTradingWithdrawParams
impl Clone for CreateWalletTradingWithdrawParams
Source§fn clone(&self) -> CreateWalletTradingWithdrawParams
fn clone(&self) -> CreateWalletTradingWithdrawParams
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 CreateWalletTradingWithdrawParams
impl RefUnwindSafe for CreateWalletTradingWithdrawParams
impl Send for CreateWalletTradingWithdrawParams
impl Sync for CreateWalletTradingWithdrawParams
impl Unpin for CreateWalletTradingWithdrawParams
impl UnsafeUnpin for CreateWalletTradingWithdrawParams
impl UnwindSafe for CreateWalletTradingWithdrawParams
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