pub enum PlaceNewOrderType {
Limit,
Market,
StopLoss,
StopLossLimit,
TakeProfit,
TakeProfitLimit,
LimitMaker,
}
Expand description
PlaceNewOrderType
JSON schema
{
"examples": [
"LIMIT"
],
"type": "string",
"enum": [
"LIMIT",
"MARKET",
"STOP_LOSS",
"STOP_LOSS_LIMIT",
"TAKE_PROFIT",
"TAKE_PROFIT_LIMIT",
"LIMIT_MAKER"
]
}
Variants§
Trait Implementations§
Source§impl Clone for PlaceNewOrderType
impl Clone for PlaceNewOrderType
Source§fn clone(&self) -> PlaceNewOrderType
fn clone(&self) -> PlaceNewOrderType
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 PlaceNewOrderType
impl Debug for PlaceNewOrderType
Source§impl<'de> Deserialize<'de> for PlaceNewOrderType
impl<'de> Deserialize<'de> for PlaceNewOrderType
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 From<&PlaceNewOrderType> for PlaceNewOrderType
impl From<&PlaceNewOrderType> for PlaceNewOrderType
Source§fn from(value: &PlaceNewOrderType) -> Self
fn from(value: &PlaceNewOrderType) -> Self
Converts to this type from the input type.
Source§impl FromStr for PlaceNewOrderType
impl FromStr for PlaceNewOrderType
Source§impl Hash for PlaceNewOrderType
impl Hash for PlaceNewOrderType
Source§impl Ord for PlaceNewOrderType
impl Ord for PlaceNewOrderType
Source§fn cmp(&self, other: &PlaceNewOrderType) -> Ordering
fn cmp(&self, other: &PlaceNewOrderType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PlaceNewOrderType
impl PartialEq for PlaceNewOrderType
Source§impl PartialOrd for PlaceNewOrderType
impl PartialOrd for PlaceNewOrderType
Source§impl Serialize for PlaceNewOrderType
impl Serialize for PlaceNewOrderType
Source§impl ToString for PlaceNewOrderType
impl ToString for PlaceNewOrderType
Source§impl TryFrom<&String> for PlaceNewOrderType
impl TryFrom<&String> for PlaceNewOrderType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for PlaceNewOrderType
impl TryFrom<&str> for PlaceNewOrderType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for PlaceNewOrderType
impl TryFrom<String> for PlaceNewOrderType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for PlaceNewOrderType
impl Eq for PlaceNewOrderType
impl StructuralPartialEq for PlaceNewOrderType
Auto Trait Implementations§
impl Freeze for PlaceNewOrderType
impl RefUnwindSafe for PlaceNewOrderType
impl Send for PlaceNewOrderType
impl Sync for PlaceNewOrderType
impl Unpin for PlaceNewOrderType
impl UnwindSafe for PlaceNewOrderType
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.