pub struct GetOrderHistoryParams {
pub category: Category,
pub symbol: Option<String>,
pub base_coin: Option<String>,
pub settle_coin: Option<String>,
pub order_id: Option<String>,
pub order_link_id: Option<String>,
pub order_filter: Option<OrderFilter>,
pub order_status: Option<OrderStatus>,
pub start_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
pub limit: Option<i32>,
pub cursor: Option<String>,
}Fields§
§category: Category§symbol: Option<String>§base_coin: Option<String>§settle_coin: Option<String>§order_id: Option<String>§order_link_id: Option<String>§order_filter: Option<OrderFilter>§order_status: Option<OrderStatus>§start_time: Option<Timestamp>Start timestamp (ms)
end_time: Option<Timestamp>End timestamp (ms)
limit: Option<i32>[1, 50]. Default: 20
cursor: Option<String>Implementations§
Source§impl GetOrderHistoryParams
impl GetOrderHistoryParams
pub fn new(category: Category) -> Self
pub fn with_symbol(self, v: String) -> Self
pub fn with_base_coin(self, v: String) -> Self
pub fn with_settle_coin(self, v: String) -> Self
pub fn with_order_id(self, v: String) -> Self
pub fn with_order_link_id(self, v: String) -> Self
pub fn with_order_filter(self, v: OrderFilter) -> Self
pub fn with_order_status(self, v: OrderStatus) -> 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: i32) -> Self
pub fn with_cursor(self, v: String) -> Self
Trait Implementations§
Source§impl Clone for GetOrderHistoryParams
impl Clone for GetOrderHistoryParams
Source§fn clone(&self) -> GetOrderHistoryParams
fn clone(&self) -> GetOrderHistoryParams
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 GetOrderHistoryParams
impl Debug for GetOrderHistoryParams
Auto Trait Implementations§
impl Freeze for GetOrderHistoryParams
impl RefUnwindSafe for GetOrderHistoryParams
impl Send for GetOrderHistoryParams
impl Sync for GetOrderHistoryParams
impl Unpin for GetOrderHistoryParams
impl UnsafeUnpin for GetOrderHistoryParams
impl UnwindSafe for GetOrderHistoryParams
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