pub enum PlaceOrderOcoSide {
Sell,
Buy,
}
Expand description
PlaceOrderOcoSide
JSON schema
{
"examples": [
"SELL"
],
"type": "string",
"enum": [
"SELL",
"BUY"
]
}
Variants§
Trait Implementations§
Source§impl Clone for PlaceOrderOcoSide
impl Clone for PlaceOrderOcoSide
Source§fn clone(&self) -> PlaceOrderOcoSide
fn clone(&self) -> PlaceOrderOcoSide
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 PlaceOrderOcoSide
impl Debug for PlaceOrderOcoSide
Source§impl<'de> Deserialize<'de> for PlaceOrderOcoSide
impl<'de> Deserialize<'de> for PlaceOrderOcoSide
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<&PlaceOrderOcoSide> for PlaceOrderOcoSide
impl From<&PlaceOrderOcoSide> for PlaceOrderOcoSide
Source§fn from(value: &PlaceOrderOcoSide) -> Self
fn from(value: &PlaceOrderOcoSide) -> Self
Converts to this type from the input type.
Source§impl FromStr for PlaceOrderOcoSide
impl FromStr for PlaceOrderOcoSide
Source§impl Hash for PlaceOrderOcoSide
impl Hash for PlaceOrderOcoSide
Source§impl Ord for PlaceOrderOcoSide
impl Ord for PlaceOrderOcoSide
Source§fn cmp(&self, other: &PlaceOrderOcoSide) -> Ordering
fn cmp(&self, other: &PlaceOrderOcoSide) -> 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 PlaceOrderOcoSide
impl PartialEq for PlaceOrderOcoSide
Source§impl PartialOrd for PlaceOrderOcoSide
impl PartialOrd for PlaceOrderOcoSide
Source§impl Serialize for PlaceOrderOcoSide
impl Serialize for PlaceOrderOcoSide
Source§impl ToString for PlaceOrderOcoSide
impl ToString for PlaceOrderOcoSide
Source§impl TryFrom<&String> for PlaceOrderOcoSide
impl TryFrom<&String> for PlaceOrderOcoSide
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for PlaceOrderOcoSide
impl TryFrom<&str> for PlaceOrderOcoSide
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for PlaceOrderOcoSide
impl TryFrom<String> for PlaceOrderOcoSide
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for PlaceOrderOcoSide
impl Eq for PlaceOrderOcoSide
impl StructuralPartialEq for PlaceOrderOcoSide
Auto Trait Implementations§
impl Freeze for PlaceOrderOcoSide
impl RefUnwindSafe for PlaceOrderOcoSide
impl Send for PlaceOrderOcoSide
impl Sync for PlaceOrderOcoSide
impl Unpin for PlaceOrderOcoSide
impl UnwindSafe for PlaceOrderOcoSide
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.