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