pub struct CancelCmd {
pub order_id: OrderId,
pub order_kind: OrderKind,
}Expand description
Represents a command to cancel an existing order
Fields§
§order_id: OrderIdThe ID of the order to cancel
order_kind: OrderKindThe type of the order to cancel
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CancelCmd
impl<'de> Deserialize<'de> for CancelCmd
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for CancelCmd
impl Eq for CancelCmd
impl StructuralPartialEq for CancelCmd
Auto Trait Implementations§
impl Freeze for CancelCmd
impl RefUnwindSafe for CancelCmd
impl Send for CancelCmd
impl Sync for CancelCmd
impl Unpin for CancelCmd
impl UnsafeUnpin for CancelCmd
impl UnwindSafe for CancelCmd
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