pub struct CancelAllOpts {
pub symbol: Option<String>,
pub dry_run: bool,
pub subaccount_id: Option<u64>,
pub side: Option<String>,
pub request_id: Option<String>,
}Expand description
Options for crate::services::OrdersService::cancel_all_with.
Fields§
§symbol: Option<String>§dry_run: bool§subaccount_id: Option<u64>§side: Option<String>§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 cancel-all 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.
Trait Implementations§
Source§impl Clone for CancelAllOpts
impl Clone for CancelAllOpts
Source§fn clone(&self) -> CancelAllOpts
fn clone(&self) -> CancelAllOpts
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 CancelAllOpts
impl Debug for CancelAllOpts
Source§impl Default for CancelAllOpts
impl Default for CancelAllOpts
Source§fn default() -> CancelAllOpts
fn default() -> CancelAllOpts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CancelAllOpts
impl RefUnwindSafe for CancelAllOpts
impl Send for CancelAllOpts
impl Sync for CancelAllOpts
impl Unpin for CancelAllOpts
impl UnsafeUnpin for CancelAllOpts
impl UnwindSafe for CancelAllOpts
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