pub struct FillsHistoryParams {
pub symbol: Option<String>,
pub from: Option<i64>,
pub to: Option<i64>,
pub fill_type: Option<FillType>,
pub market_type: Option<MarketType>,
pub order_id: Option<String>,
pub strategy_id: Option<String>,
pub limit: Option<u64>,
pub offset: Option<u64>,
pub sort_direction: Option<SortDirection>,
}Fields§
§symbol: Option<String>Filter by symbol
from: Option<i64>From timestamp in milliseconds
to: Option<i64>To timestamp in milliseconds
fill_type: Option<FillType>Filter by fill type
market_type: Option<MarketType>Filter by market type
order_id: Option<String>Filter by order ID
strategy_id: Option<String>Filter by strategy ID
limit: Option<u64>Maximum number of results to return
offset: Option<u64>Offset for pagination - default to 0
sort_direction: Option<SortDirection>Sort direction
Implementations§
Source§impl FillsHistoryParams
impl FillsHistoryParams
pub fn with_symbol<S: Into<String>>(self, symbol: S) -> Self
pub fn with_from(self, from: i64) -> Self
pub fn with_to(self, to: i64) -> Self
pub fn with_fill_type(self, fill_type: FillType) -> Self
pub fn with_market_type(self, market_type: MarketType) -> Self
pub fn with_order_id<S: Into<String>>(self, order_id: S) -> Self
pub fn with_strategy_id<S: Into<String>>(self, strategy_id: S) -> Self
pub fn with_limit(self, limit: u64) -> Self
pub fn with_offset(self, offset: u64) -> Self
pub fn with_sort_direction(self, sort_direction: SortDirection) -> Self
Trait Implementations§
Source§impl Clone for FillsHistoryParams
impl Clone for FillsHistoryParams
Source§fn clone(&self) -> FillsHistoryParams
fn clone(&self) -> FillsHistoryParams
Returns a duplicate of the value. Read more
1.0.0 · 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 FillsHistoryParams
impl Debug for FillsHistoryParams
Source§impl Default for FillsHistoryParams
impl Default for FillsHistoryParams
Source§fn default() -> FillsHistoryParams
fn default() -> FillsHistoryParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FillsHistoryParams
impl<'de> Deserialize<'de> for FillsHistoryParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FillsHistoryParams
impl RefUnwindSafe for FillsHistoryParams
impl Send for FillsHistoryParams
impl Sync for FillsHistoryParams
impl Unpin for FillsHistoryParams
impl UnwindSafe for FillsHistoryParams
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