pub enum FuturesOrderType {
Limit,
Market,
Stop,
TakeProfit,
ImmediateOrCancel,
PostOnly,
}Expand description
Futures order type.
Variants§
Limit
Limit order
Market
Market order
Stop
Stop order (stop-loss)
TakeProfit
Take profit order
ImmediateOrCancel
Immediate or cancel
PostOnly
Post-only (maker only)
Trait Implementations§
Source§impl Clone for FuturesOrderType
impl Clone for FuturesOrderType
Source§fn clone(&self) -> FuturesOrderType
fn clone(&self) -> FuturesOrderType
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 FuturesOrderType
impl Debug for FuturesOrderType
Source§impl Default for FuturesOrderType
impl Default for FuturesOrderType
Source§fn default() -> FuturesOrderType
fn default() -> FuturesOrderType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FuturesOrderType
impl<'de> Deserialize<'de> for FuturesOrderType
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 FuturesOrderType
impl PartialEq for FuturesOrderType
Source§impl Serialize for FuturesOrderType
impl Serialize for FuturesOrderType
impl Copy for FuturesOrderType
impl Eq for FuturesOrderType
impl StructuralPartialEq for FuturesOrderType
Auto Trait Implementations§
impl Freeze for FuturesOrderType
impl RefUnwindSafe for FuturesOrderType
impl Send for FuturesOrderType
impl Sync for FuturesOrderType
impl Unpin for FuturesOrderType
impl UnwindSafe for FuturesOrderType
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