pub struct OrderListCancelParams {
pub symbol: String,
pub id: Option<String>,
pub order_list_id: Option<i32>,
pub list_client_order_id: Option<String>,
pub new_client_order_id: Option<String>,
pub recv_window: Option<Decimal>,
}Expand description
Request parameters for the [order_list_cancel] operation.
This struct holds all of the inputs you can pass when calling
order_list_cancel.
Fields§
§symbol: StringThe symbol parameter.
This field is **required.
id: Option<String>Client-generated request identifier.
This field is **optional.
order_list_id: Option<i32>Either orderListId or listClientOrderId must be provided
This field is **optional.
list_client_order_id: Option<String>Either orderListId or listClientOrderId must be provided
This field is **optional.
new_client_order_id: Option<String>Used to uniquely identify this cancel. Automatically generated by default.
This field is **optional.
recv_window: Option<Decimal>Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.
This field is **optional.
Implementations§
Source§impl OrderListCancelParams
impl OrderListCancelParams
Sourcepub fn builder(symbol: String) -> OrderListCancelParamsBuilder
pub fn builder(symbol: String) -> OrderListCancelParamsBuilder
Create a builder for [order_list_cancel].
Required parameters:
symbol— String
Trait Implementations§
Source§impl Clone for OrderListCancelParams
impl Clone for OrderListCancelParams
Source§fn clone(&self) -> OrderListCancelParams
fn clone(&self) -> OrderListCancelParams
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 Debug for OrderListCancelParams
impl Debug for OrderListCancelParams
Source§impl<'de> Deserialize<'de> for OrderListCancelParams
impl<'de> Deserialize<'de> for OrderListCancelParams
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 OrderListCancelParams
impl RefUnwindSafe for OrderListCancelParams
impl Send for OrderListCancelParams
impl Sync for OrderListCancelParams
impl Unpin for OrderListCancelParams
impl UnsafeUnpin for OrderListCancelParams
impl UnwindSafe for OrderListCancelParams
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