pub struct WithdrawParams {
pub coin: String,
pub chain: String,
pub address: String,
pub tag: Option<String>,
pub amount: String,
pub timestamp: u64,
pub force_chain: Option<i32>,
pub account_type: Option<String>,
}Expand description
Withdraw request.
Fields§
§coin: StringCoin
chain: StringChain
address: StringAddress
tag: Option<String>Tag
amount: StringAmount
timestamp: u64Timestamp
force_chain: Option<i32>Force chain (for tokens on multiple chains)
account_type: Option<String>Account type
Implementations§
Trait Implementations§
Source§impl Clone for WithdrawParams
impl Clone for WithdrawParams
Source§fn clone(&self) -> WithdrawParams
fn clone(&self) -> WithdrawParams
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 moreSource§impl Debug for WithdrawParams
impl Debug for WithdrawParams
Source§impl<'de> Deserialize<'de> for WithdrawParams
impl<'de> Deserialize<'de> for WithdrawParams
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 WithdrawParams
impl RefUnwindSafe for WithdrawParams
impl Send for WithdrawParams
impl Sync for WithdrawParams
impl Unpin for WithdrawParams
impl UnsafeUnpin for WithdrawParams
impl UnwindSafe for WithdrawParams
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