pub struct OrderListRequest<'a> { /* private fields */ }Expand description
Query parameters for pending order lists.
Implementations§
Source§impl<'a> OrderListRequest<'a>
impl<'a> OrderListRequest<'a>
Sourcepub fn underlying(self, underlying: impl Into<Cow<'a, str>>) -> Self
pub fn underlying(self, underlying: impl Into<Cow<'a, str>>) -> Self
Set the underlying filter.
Sourcepub fn order_type(self, ord_type: OrderType) -> Self
pub fn order_type(self, ord_type: OrderType) -> Self
Set the order type filter.
Sourcepub fn state(self, state: OrderState) -> Self
pub fn state(self, state: OrderState) -> Self
Set the order state filter.
Sourcepub fn after(self, after: impl Into<Cow<'a, str>>) -> Self
pub fn after(self, after: impl Into<Cow<'a, str>>) -> Self
Return records after this pagination cursor.
Sourcepub fn before(self, before: impl Into<Cow<'a, str>>) -> Self
pub fn before(self, before: impl Into<Cow<'a, str>>) -> Self
Return records before this pagination cursor.
Sourcepub fn inst_family(self, inst_family: impl Into<Cow<'a, str>>) -> Self
pub fn inst_family(self, inst_family: impl Into<Cow<'a, str>>) -> Self
Set the instrument family filter.
Trait Implementations§
Source§impl<'a> Clone for OrderListRequest<'a>
impl<'a> Clone for OrderListRequest<'a>
Source§fn clone(&self) -> OrderListRequest<'a>
fn clone(&self) -> OrderListRequest<'a>
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<'a> Debug for OrderListRequest<'a>
impl<'a> Debug for OrderListRequest<'a>
Source§impl<'a> Default for OrderListRequest<'a>
impl<'a> Default for OrderListRequest<'a>
Source§fn default() -> OrderListRequest<'a>
fn default() -> OrderListRequest<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for OrderListRequest<'a>
impl<'a> RefUnwindSafe for OrderListRequest<'a>
impl<'a> Send for OrderListRequest<'a>
impl<'a> Sync for OrderListRequest<'a>
impl<'a> Unpin for OrderListRequest<'a>
impl<'a> UnsafeUnpin for OrderListRequest<'a>
impl<'a> UnwindSafe for OrderListRequest<'a>
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