pub struct GetExecutionListParams {
pub category: Category,
pub symbol: Option<String>,
pub order_id: Option<String>,
pub order_link_id: Option<String>,
pub base_coin: Option<String>,
pub start_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
pub exec_type: Option<ExecType>,
pub limit: Option<i32>,
pub cursor: Option<String>,
}Fields§
§category: Category§symbol: Option<String>§order_id: Option<String>§order_link_id: Option<String>§base_coin: Option<String>§start_time: Option<Timestamp>§end_time: Option<Timestamp>§exec_type: Option<ExecType>§limit: Option<i32>[1, 100]. Default: 50
cursor: Option<String>Implementations§
Source§impl GetExecutionListParams
impl GetExecutionListParams
pub fn new(category: Category) -> Self
pub fn with_symbol(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_base_coin(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_exec_type(self, v: ExecType) -> Self
pub fn with_limit(self, v: i32) -> Self
pub fn with_cursor(self, v: String) -> Self
Trait Implementations§
Source§impl Clone for GetExecutionListParams
impl Clone for GetExecutionListParams
Source§fn clone(&self) -> GetExecutionListParams
fn clone(&self) -> GetExecutionListParams
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 GetExecutionListParams
impl Debug for GetExecutionListParams
Auto Trait Implementations§
impl Freeze for GetExecutionListParams
impl RefUnwindSafe for GetExecutionListParams
impl Send for GetExecutionListParams
impl Sync for GetExecutionListParams
impl Unpin for GetExecutionListParams
impl UnsafeUnpin for GetExecutionListParams
impl UnwindSafe for GetExecutionListParams
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