pub struct ModifyOrderRequest {
pub client_order_id: Uuid,
pub order_quantity: i64,
pub price: Option<Decimal>,
}Expand description
Body of the deprecated change, BcsHttpClient::modify_order.
Use EditOrderRequest with BcsHttpClient::edit_order instead.
Fields§
§client_order_id: UuidId of this change request (a new UUID).
order_quantity: i64New quantity in pieces.
price: Option<Decimal>New price per piece. Left out when None.
Trait Implementations§
Source§impl Clone for ModifyOrderRequest
impl Clone for ModifyOrderRequest
Source§fn clone(&self) -> ModifyOrderRequest
fn clone(&self) -> ModifyOrderRequest
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 ModifyOrderRequest
impl Debug for ModifyOrderRequest
Auto Trait Implementations§
impl Freeze for ModifyOrderRequest
impl RefUnwindSafe for ModifyOrderRequest
impl Send for ModifyOrderRequest
impl Sync for ModifyOrderRequest
impl Unpin for ModifyOrderRequest
impl UnsafeUnpin for ModifyOrderRequest
impl UnwindSafe for ModifyOrderRequest
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