pub struct CoinWithdrawalQuery {
pub coin: String,
pub withdraw_order_id: Option<String>,
pub network: Option<String>,
pub address: String,
pub address_tag: Option<String>,
pub amount: f64,
pub transaction_fee_flag: Option<bool>,
pub name: Option<String>,
pub wallet_type: u8,
}Fields§
§coin: String§withdraw_order_id: Option<String>client id for withdraw
network: Option<String>§address: String§address_tag: Option<String>Secondary address identifier for coins like XRP,XMR etc.
amount: f64§transaction_fee_flag: Option<bool>When making internal transfer, true for returning the fee to the destination account; false for returning the fee back to the departure account. Default false.
name: Option<String>Description of the address. Space in name should be encoded into %20.
wallet_type: u8The wallet type for withdraw,0: spot wallet. 1: funding wallet. Default: spot wallet
Trait Implementations§
Source§impl Clone for CoinWithdrawalQuery
impl Clone for CoinWithdrawalQuery
Source§fn clone(&self) -> CoinWithdrawalQuery
fn clone(&self) -> CoinWithdrawalQuery
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 Debug for CoinWithdrawalQuery
impl Debug for CoinWithdrawalQuery
Source§impl Default for CoinWithdrawalQuery
impl Default for CoinWithdrawalQuery
Source§fn default() -> CoinWithdrawalQuery
fn default() -> CoinWithdrawalQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CoinWithdrawalQuery
impl<'de> Deserialize<'de> for CoinWithdrawalQuery
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
Auto Trait Implementations§
impl Freeze for CoinWithdrawalQuery
impl RefUnwindSafe for CoinWithdrawalQuery
impl Send for CoinWithdrawalQuery
impl Sync for CoinWithdrawalQuery
impl Unpin for CoinWithdrawalQuery
impl UnwindSafe for CoinWithdrawalQuery
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