pub struct FillHistoryRequest { /* private fields */ }Expand description
Query parameters for historical fills.
This is intentionally separate from FillsRequest because OKX documents
instType as required for GET /api/v5/trade/fills-history, while it is
optional for GET /api/v5/trade/fills.
Implementations§
Source§impl FillHistoryRequest
impl FillHistoryRequest
Sourcepub fn new(inst_type: InstType) -> Self
pub fn new(inst_type: InstType) -> Self
Create a historical fills query with the required instrument type.
Sourcepub fn after(self, after: impl Into<String>) -> Self
pub fn after(self, after: impl Into<String>) -> Self
Return records after this pagination cursor.
Trait Implementations§
Source§impl Clone for FillHistoryRequest
impl Clone for FillHistoryRequest
Source§fn clone(&self) -> FillHistoryRequest
fn clone(&self) -> FillHistoryRequest
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 FillHistoryRequest
impl Debug for FillHistoryRequest
Auto Trait Implementations§
impl Freeze for FillHistoryRequest
impl RefUnwindSafe for FillHistoryRequest
impl Send for FillHistoryRequest
impl Sync for FillHistoryRequest
impl Unpin for FillHistoryRequest
impl UnsafeUnpin for FillHistoryRequest
impl UnwindSafe for FillHistoryRequest
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