pub enum CommandOperation {
Show 13 variants
CreateOrder,
CreateOrders,
AmendOrder,
AmendOrders,
CancelOrder,
CancelOrders,
CancelAllOrders,
ClosePosition,
ValidateOrder,
GetOrder,
SetLeverage,
SetMarginMode,
SetPositionMode,
}Expand description
Supported command-lane operations in 0.1.x.
Variants§
CreateOrder
CreateOrders
AmendOrder
AmendOrders
CancelOrder
CancelOrders
CancelAllOrders
ClosePosition
ValidateOrder
GetOrder
SetLeverage
SetMarginMode
SetPositionMode
Trait Implementations§
Source§impl Clone for CommandOperation
impl Clone for CommandOperation
Source§fn clone(&self) -> CommandOperation
fn clone(&self) -> CommandOperation
Returns a duplicate of the value. Read more
1.0.0 · 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 CommandOperation
impl Debug for CommandOperation
Source§impl<'de> Deserialize<'de> for CommandOperation
impl<'de> Deserialize<'de> for CommandOperation
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
Source§impl PartialEq for CommandOperation
impl PartialEq for CommandOperation
Source§impl Serialize for CommandOperation
impl Serialize for CommandOperation
impl Copy for CommandOperation
impl Eq for CommandOperation
impl StructuralPartialEq for CommandOperation
Auto Trait Implementations§
impl Freeze for CommandOperation
impl RefUnwindSafe for CommandOperation
impl Send for CommandOperation
impl Sync for CommandOperation
impl Unpin for CommandOperation
impl UnsafeUnpin for CommandOperation
impl UnwindSafe for CommandOperation
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