pub struct CancelOrderOptions { /* private fields */ }Expand description
Options for cancel order request
Implementations§
Source§impl CancelOrderOptions
impl CancelOrderOptions
Sourcepub fn is_attached(self) -> Self
pub fn is_attached(self) -> Self
Indicate that the provided order_id is an attached sub-order ID.
When set, the server looks up the order using the attached order ID
instead of treating order_id as a regular order ID.
Trait Implementations§
Source§impl Clone for CancelOrderOptions
impl Clone for CancelOrderOptions
Source§fn clone(&self) -> CancelOrderOptions
fn clone(&self) -> CancelOrderOptions
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 CancelOrderOptions
impl Debug for CancelOrderOptions
Source§impl<'a> From<&'a str> for CancelOrderOptions
impl<'a> From<&'a str> for CancelOrderOptions
Source§impl From<String> for CancelOrderOptions
impl From<String> for CancelOrderOptions
Auto Trait Implementations§
impl Freeze for CancelOrderOptions
impl RefUnwindSafe for CancelOrderOptions
impl Send for CancelOrderOptions
impl Sync for CancelOrderOptions
impl Unpin for CancelOrderOptions
impl UnsafeUnpin for CancelOrderOptions
impl UnwindSafe for CancelOrderOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more