pub struct ListTradesQuery {
pub ids: Option<Vec<TradeID>>,
pub state: Option<TradeStateFilter>,
pub instrument: Option<InstrumentName>,
pub count: Option<i64>,
pub before_id: Option<TradeID>,
}Expand description
Query parameters for list_trades.
Fields§
§ids: Option<Vec<TradeID>>List of Trade IDs to retrieve.
state: Option<TradeStateFilter>The state to filter the requested Trades by. [default=OPEN]
instrument: Option<InstrumentName>The instrument to filter the requested Trades by.
count: Option<i64>The maximum number of Trades to return. [default=50, maximum=500]
before_id: Option<TradeID>The maximum Trade ID to return. If not provided the most recent Trades in the Account are returned.
Trait Implementations§
Source§impl Clone for ListTradesQuery
impl Clone for ListTradesQuery
Source§impl Debug for ListTradesQuery
impl Debug for ListTradesQuery
Source§impl Default for ListTradesQuery
impl Default for ListTradesQuery
Source§impl<'de> Deserialize<'de> for ListTradesQuery
impl<'de> Deserialize<'de> for ListTradesQuery
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
Source§impl PartialEq for ListTradesQuery
impl PartialEq for ListTradesQuery
Source§impl Serialize for ListTradesQuery
impl Serialize for ListTradesQuery
impl StructuralPartialEq for ListTradesQuery
Auto Trait Implementations§
impl Freeze for ListTradesQuery
impl RefUnwindSafe for ListTradesQuery
impl Send for ListTradesQuery
impl Sync for ListTradesQuery
impl Unpin for ListTradesQuery
impl UnsafeUnpin for ListTradesQuery
impl UnwindSafe for ListTradesQuery
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