pub struct GetLeverageTokenOrderRecordsParams {
pub lt_coin: Option<String>,
pub order_id: Option<String>,
pub start_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
pub limit: Option<u64>,
pub lt_order_type: Option<LtOrderType>,
pub serial_no: Option<String>,
}Expand description
Query params for
Client::get_leverage_token_order_records.
Fields§
§lt_coin: Option<String>Abbreviation of the LT, such as BTC3L
order_id: Option<String>§start_time: Option<Timestamp>§end_time: Option<Timestamp>§limit: Option<u64>Limit for data size per page. [1, 500]. Default: 100
lt_order_type: Option<LtOrderType>§serial_no: Option<String>Implementations§
Source§impl GetLeverageTokenOrderRecordsParams
impl GetLeverageTokenOrderRecordsParams
pub fn new() -> Self
pub fn with_lt_coin(self, v: String) -> Self
pub fn with_order_id(self, v: String) -> 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_lt_order_type(self, v: LtOrderType) -> Self
pub fn with_serial_no(self, v: String) -> Self
Trait Implementations§
Source§impl Clone for GetLeverageTokenOrderRecordsParams
impl Clone for GetLeverageTokenOrderRecordsParams
Source§fn clone(&self) -> GetLeverageTokenOrderRecordsParams
fn clone(&self) -> GetLeverageTokenOrderRecordsParams
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 moreAuto Trait Implementations§
impl Freeze for GetLeverageTokenOrderRecordsParams
impl RefUnwindSafe for GetLeverageTokenOrderRecordsParams
impl Send for GetLeverageTokenOrderRecordsParams
impl Sync for GetLeverageTokenOrderRecordsParams
impl Unpin for GetLeverageTokenOrderRecordsParams
impl UnsafeUnpin for GetLeverageTokenOrderRecordsParams
impl UnwindSafe for GetLeverageTokenOrderRecordsParams
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