pub struct GetExchangeOrderRecordParams {
pub from_coin: Option<String>,
pub to_coin: Option<String>,
pub limit: Option<u64>,
pub cursor: Option<String>,
}Expand description
Query params for
Client::get_exchange_order_record.
Fields§
§from_coin: Option<String>§to_coin: Option<String>§limit: Option<u64>Limit for data size per page. [1, 50]. Default: 10
cursor: Option<String>Implementations§
Source§impl GetExchangeOrderRecordParams
impl GetExchangeOrderRecordParams
pub fn new() -> Self
pub fn with_from_coin(self, v: String) -> Self
pub fn with_to_coin(self, v: String) -> Self
pub fn with_limit(self, v: u64) -> Self
pub fn with_cursor(self, v: String) -> Self
Trait Implementations§
Source§impl Clone for GetExchangeOrderRecordParams
impl Clone for GetExchangeOrderRecordParams
Source§fn clone(&self) -> GetExchangeOrderRecordParams
fn clone(&self) -> GetExchangeOrderRecordParams
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 GetExchangeOrderRecordParams
impl Debug for GetExchangeOrderRecordParams
Auto Trait Implementations§
impl Freeze for GetExchangeOrderRecordParams
impl RefUnwindSafe for GetExchangeOrderRecordParams
impl Send for GetExchangeOrderRecordParams
impl Sync for GetExchangeOrderRecordParams
impl Unpin for GetExchangeOrderRecordParams
impl UnsafeUnpin for GetExchangeOrderRecordParams
impl UnwindSafe for GetExchangeOrderRecordParams
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