pub struct CreateApiKeyTradingWithdrawParams {
pub asset_id: u32,
pub amount: AssetAmount,
pub destination_address: String,
pub idempotency_key: String,
pub amount_scale: Option<u32>,
pub deadline_ts_sec: Option<u64>,
pub nonce: Option<u128>,
}Expand description
API-key trading-withdraw params for SDK-owned payload construction/signing.
Fields§
§asset_id: u32§amount: AssetAmount§destination_address: String§idempotency_key: StringStable key for this logical withdrawal.
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>Optional explicit deadline. The SDK uses now + five minutes when absent.
nonce: Option<u128>Optional explicit nonce. The SDK generates a secure non-zero nonce when absent.
Trait Implementations§
Source§impl Clone for CreateApiKeyTradingWithdrawParams
impl Clone for CreateApiKeyTradingWithdrawParams
Source§fn clone(&self) -> CreateApiKeyTradingWithdrawParams
fn clone(&self) -> CreateApiKeyTradingWithdrawParams
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 CreateApiKeyTradingWithdrawParams
impl RefUnwindSafe for CreateApiKeyTradingWithdrawParams
impl Send for CreateApiKeyTradingWithdrawParams
impl Sync for CreateApiKeyTradingWithdrawParams
impl Unpin for CreateApiKeyTradingWithdrawParams
impl UnsafeUnpin for CreateApiKeyTradingWithdrawParams
impl UnwindSafe for CreateApiKeyTradingWithdrawParams
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