pub struct QueryOrderListParams {
pub order_list_id: Option<i64>,
pub orig_client_order_id: Option<String>,
}Expand description
Query parameters for querying an order list (OCO).
Fields§
§order_list_id: Option<i64>Order list ID.
orig_client_order_id: Option<String>List client order ID.
Implementations§
Source§impl QueryOrderListParams
impl QueryOrderListParams
Sourcepub fn by_order_list_id(order_list_id: i64) -> Self
pub fn by_order_list_id(order_list_id: i64) -> Self
Create query params by order list ID.
Sourcepub fn by_client_order_id(client_order_id: impl Into<String>) -> Self
pub fn by_client_order_id(client_order_id: impl Into<String>) -> Self
Create query params by list client order ID.
Trait Implementations§
Source§impl Clone for QueryOrderListParams
impl Clone for QueryOrderListParams
Source§fn clone(&self) -> QueryOrderListParams
fn clone(&self) -> QueryOrderListParams
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 QueryOrderListParams
impl Debug for QueryOrderListParams
Auto Trait Implementations§
impl Freeze for QueryOrderListParams
impl RefUnwindSafe for QueryOrderListParams
impl Send for QueryOrderListParams
impl Sync for QueryOrderListParams
impl Unpin for QueryOrderListParams
impl UnwindSafe for QueryOrderListParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more