pub struct ModifyOrderParams {
pub symbol: String,
pub key: OrderKey,
pub subaccount_id: Option<u64>,
pub request_id: Option<String>,
pub new_price: Option<Price>,
pub new_qty: Option<Quantity>,
pub new_attached_risk: Option<AttachedRisk>,
pub behavior: Option<String>,
pub new_client_order_id: Option<String>,
}Expand description
Typed single-order modify params.
Fields§
§symbol: String§key: OrderKey§subaccount_id: Option<u64>§request_id: Option<String>Optional mutation request id (API-required on the wire).
When omitted or blank, the SDK generates a unique id (TypeScript/Go/Python parity).
Set a stable non-empty value when you may retry the same logical modification after an
ambiguous failure, and reuse that same value on retry. A blind retry that omits
request_id mints a new id and is not an idempotent replay.
new_price: Option<Price>§new_qty: Option<Quantity>§new_attached_risk: Option<AttachedRisk>§behavior: Option<String>§new_client_order_id: Option<String>Trait Implementations§
Source§impl Clone for ModifyOrderParams
impl Clone for ModifyOrderParams
Source§fn clone(&self) -> ModifyOrderParams
fn clone(&self) -> ModifyOrderParams
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 moreAuto Trait Implementations§
impl Freeze for ModifyOrderParams
impl RefUnwindSafe for ModifyOrderParams
impl Send for ModifyOrderParams
impl Sync for ModifyOrderParams
impl Unpin for ModifyOrderParams
impl UnsafeUnpin for ModifyOrderParams
impl UnwindSafe for ModifyOrderParams
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