pub struct AmendOrderBatchRequest {
pub category: Category,
pub request: Vec<AmendOrderRequest>,
}Expand description
Request body of POST /v5/order/amend-batch (Client::amend_orders_batch).
Fields§
§category: CategoryProduct type linear, option, spot, inverse.
request: Vec<AmendOrderRequest>Orders to amend.
Implementations§
Source§impl AmendOrderBatchRequest
impl AmendOrderBatchRequest
Sourcepub fn new(category: Category, request: Vec<AmendOrderRequest>) -> Self
pub fn new(category: Category, request: Vec<AmendOrderRequest>) -> Self
Create with the required fields; set the optional ones with the with_* methods.
Trait Implementations§
Source§impl Clone for AmendOrderBatchRequest
impl Clone for AmendOrderBatchRequest
Source§impl Debug for AmendOrderBatchRequest
impl Debug for AmendOrderBatchRequest
Auto Trait Implementations§
impl Freeze for AmendOrderBatchRequest
impl RefUnwindSafe for AmendOrderBatchRequest
impl Send for AmendOrderBatchRequest
impl Sync for AmendOrderBatchRequest
impl Unpin for AmendOrderBatchRequest
impl UnsafeUnpin for AmendOrderBatchRequest
impl UnwindSafe for AmendOrderBatchRequest
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