pub enum BatchCreateOrderItemPositionSide {
Long,
Short,
None,
}Expand description
Position side for margin orders: LONG, SHORT, or NONE
JSON schema
{
"description": "Position side for margin orders: LONG, SHORT, or NONE",
"examples": [
"LONG"
],
"type": "string",
"enum": [
"LONG",
"SHORT",
"NONE"
]
}Variants§
Trait Implementations§
Source§impl Clone for BatchCreateOrderItemPositionSide
impl Clone for BatchCreateOrderItemPositionSide
Source§fn clone(&self) -> BatchCreateOrderItemPositionSide
fn clone(&self) -> BatchCreateOrderItemPositionSide
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BatchCreateOrderItemPositionSide
Source§impl<'de> Deserialize<'de> for BatchCreateOrderItemPositionSide
impl<'de> Deserialize<'de> for BatchCreateOrderItemPositionSide
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 Eq for BatchCreateOrderItemPositionSide
Source§impl Ord for BatchCreateOrderItemPositionSide
impl Ord for BatchCreateOrderItemPositionSide
Source§fn cmp(&self, other: &BatchCreateOrderItemPositionSide) -> Ordering
fn cmp(&self, other: &BatchCreateOrderItemPositionSide) -> Ordering
1.21.0 (const: unstable) · 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 PartialOrd for BatchCreateOrderItemPositionSide
impl PartialOrd for BatchCreateOrderItemPositionSide
impl StructuralPartialEq for BatchCreateOrderItemPositionSide
Source§impl TryFrom<&String> for BatchCreateOrderItemPositionSide
impl TryFrom<&String> for BatchCreateOrderItemPositionSide
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for BatchCreateOrderItemPositionSide
impl TryFrom<&str> for BatchCreateOrderItemPositionSide
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for BatchCreateOrderItemPositionSide
impl TryFrom<String> for BatchCreateOrderItemPositionSide
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for BatchCreateOrderItemPositionSide
impl RefUnwindSafe for BatchCreateOrderItemPositionSide
impl Send for BatchCreateOrderItemPositionSide
impl Sync for BatchCreateOrderItemPositionSide
impl Unpin for BatchCreateOrderItemPositionSide
impl UnsafeUnpin for BatchCreateOrderItemPositionSide
impl UnwindSafe for BatchCreateOrderItemPositionSide
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