Struct WithdrawRequest
pub struct WithdrawRequest {
pub asset: String,
pub network: Network,
pub amount: Decimal,
pub destination: TransferDestination,
pub client_id: Option<String>,
}Expand description
A withdrawal to an exchange-issued or direct on-chain destination.
Fields§
§asset: StringAsset symbol, uppercase.
network: NetworkCanonical source and destination network.
amount: DecimalAmount before provider fees.
destination: TransferDestinationDestination address and optional memo.
client_id: Option<String>Caller idempotency identifier, when the provider supports one.
Implementations§
Trait Implementations§
§impl Clone for WithdrawRequest
impl Clone for WithdrawRequest
§fn clone(&self) -> WithdrawRequest
fn clone(&self) -> WithdrawRequest
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 more§impl Debug for WithdrawRequest
impl Debug for WithdrawRequest
impl Eq for WithdrawRequest
§impl PartialEq for WithdrawRequest
impl PartialEq for WithdrawRequest
impl StructuralPartialEq for WithdrawRequest
Auto Trait Implementations§
impl Freeze for WithdrawRequest
impl RefUnwindSafe for WithdrawRequest
impl Send for WithdrawRequest
impl Sync for WithdrawRequest
impl Unpin for WithdrawRequest
impl UnsafeUnpin for WithdrawRequest
impl UnwindSafe for WithdrawRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.