pub struct GetWithdrawalRecordsParams {
pub withdraw_id: Option<String>,
pub tx_id: Option<String>,
pub coin: Option<String>,
pub withdraw_type: Option<i64>,
pub start_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
pub limit: Option<u64>,
pub cursor: Option<String>,
}Expand description
Query params for
Client::get_withdrawal_records.
Fields§
§withdraw_id: Option<String>§tx_id: Option<String>§coin: Option<String>§withdraw_type: Option<i64>0: on chain, 1: off chain, 2: all. Default: 0
start_time: Option<Timestamp>§end_time: Option<Timestamp>§limit: Option<u64>Limit for data size per page. [1, 50]. Default: 50
cursor: Option<String>Implementations§
Source§impl GetWithdrawalRecordsParams
impl GetWithdrawalRecordsParams
pub fn new() -> Self
pub fn with_withdraw_id(self, v: String) -> Self
pub fn with_tx_id(self, v: String) -> Self
pub fn with_coin(self, v: String) -> Self
pub fn with_withdraw_type(self, v: i64) -> Self
pub fn with_start_time(self, v: Timestamp) -> Self
pub fn with_end_time(self, v: Timestamp) -> Self
pub fn with_limit(self, v: u64) -> Self
pub fn with_cursor(self, v: String) -> Self
Trait Implementations§
Source§impl Clone for GetWithdrawalRecordsParams
impl Clone for GetWithdrawalRecordsParams
Source§fn clone(&self) -> GetWithdrawalRecordsParams
fn clone(&self) -> GetWithdrawalRecordsParams
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 GetWithdrawalRecordsParams
impl Debug for GetWithdrawalRecordsParams
Source§impl Default for GetWithdrawalRecordsParams
impl Default for GetWithdrawalRecordsParams
Auto Trait Implementations§
impl Freeze for GetWithdrawalRecordsParams
impl RefUnwindSafe for GetWithdrawalRecordsParams
impl Send for GetWithdrawalRecordsParams
impl Sync for GetWithdrawalRecordsParams
impl Unpin for GetWithdrawalRecordsParams
impl UnsafeUnpin for GetWithdrawalRecordsParams
impl UnwindSafe for GetWithdrawalRecordsParams
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