pub enum BatchCreateOrderItemMarginMode {
Isolated,
Cross,
}Expand description
Risk bucket mode for margin orders. Defaults to ISOLATED. Values: ISOLATED, CROSS.
JSON schema
{
"description": "Risk bucket mode for margin orders. Defaults to ISOLATED. Values: ISOLATED, CROSS.",
"examples": [
"CROSS"
],
"type": "string",
"enum": [
"ISOLATED",
"CROSS"
]
}Variants§
Trait Implementations§
Source§impl Clone for BatchCreateOrderItemMarginMode
impl Clone for BatchCreateOrderItemMarginMode
Source§fn clone(&self) -> BatchCreateOrderItemMarginMode
fn clone(&self) -> BatchCreateOrderItemMarginMode
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 BatchCreateOrderItemMarginMode
Source§impl<'de> Deserialize<'de> for BatchCreateOrderItemMarginMode
impl<'de> Deserialize<'de> for BatchCreateOrderItemMarginMode
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 BatchCreateOrderItemMarginMode
Source§impl Ord for BatchCreateOrderItemMarginMode
impl Ord for BatchCreateOrderItemMarginMode
Source§fn cmp(&self, other: &BatchCreateOrderItemMarginMode) -> Ordering
fn cmp(&self, other: &BatchCreateOrderItemMarginMode) -> 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 BatchCreateOrderItemMarginMode
impl PartialOrd for BatchCreateOrderItemMarginMode
impl StructuralPartialEq for BatchCreateOrderItemMarginMode
Source§impl TryFrom<&String> for BatchCreateOrderItemMarginMode
impl TryFrom<&String> for BatchCreateOrderItemMarginMode
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for BatchCreateOrderItemMarginMode
impl TryFrom<&str> for BatchCreateOrderItemMarginMode
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for BatchCreateOrderItemMarginMode
impl TryFrom<String> for BatchCreateOrderItemMarginMode
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for BatchCreateOrderItemMarginMode
impl RefUnwindSafe for BatchCreateOrderItemMarginMode
impl Send for BatchCreateOrderItemMarginMode
impl Sync for BatchCreateOrderItemMarginMode
impl Unpin for BatchCreateOrderItemMarginMode
impl UnsafeUnpin for BatchCreateOrderItemMarginMode
impl UnwindSafe for BatchCreateOrderItemMarginMode
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