pub struct BatchOrderRequest {
pub batch_order: Vec<BatchElement>,
}Expand description
Request for batch order operations.
Fields§
§batch_order: Vec<BatchElement>The batch elements
Implementations§
Source§impl BatchOrderRequest
impl BatchOrderRequest
Sourcepub fn place(self, order: SendOrderRequest) -> Self
pub fn place(self, order: SendOrderRequest) -> Self
Add a place order element.
Sourcepub fn cancel_by_cli_ord_id(self, cli_ord_id: impl Into<String>) -> Self
pub fn cancel_by_cli_ord_id(self, cli_ord_id: impl Into<String>) -> Self
Add a cancel by client order ID element.
Trait Implementations§
Source§impl Clone for BatchOrderRequest
impl Clone for BatchOrderRequest
Source§fn clone(&self) -> BatchOrderRequest
fn clone(&self) -> BatchOrderRequest
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 BatchOrderRequest
impl Debug for BatchOrderRequest
Source§impl Default for BatchOrderRequest
impl Default for BatchOrderRequest
Auto Trait Implementations§
impl Freeze for BatchOrderRequest
impl RefUnwindSafe for BatchOrderRequest
impl Send for BatchOrderRequest
impl Sync for BatchOrderRequest
impl Unpin for BatchOrderRequest
impl UnwindSafe for BatchOrderRequest
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