pub struct SimulateParentMarginOrderRiskRequest {
pub leverage: Option<String>,
pub order_type: Option<String>,
pub position_side: Option<String>,
pub price: Option<String>,
pub quantity: Option<String>,
pub reduce_only: Option<bool>,
pub side: Option<String>,
pub trading_pair_id: Option<Uuid>,
}Expand description
SimulateParentMarginOrderRiskRequest
JSON schema
{
"type": "object",
"properties": {
"leverage": {
"type": [
"string",
"null"
]
},
"orderType": {
"type": [
"string",
"null"
]
},
"positionSide": {
"type": [
"string",
"null"
]
},
"price": {
"type": [
"string",
"null"
]
},
"quantity": {
"type": [
"string",
"null"
]
},
"reduceOnly": {
"type": [
"boolean",
"null"
]
},
"side": {
"type": [
"string",
"null"
]
},
"tradingPairId": {
"type": [
"string",
"null"
],
"format": "uuid"
}
}
}Fields§
§leverage: Option<String>§order_type: Option<String>§position_side: Option<String>§price: Option<String>§quantity: Option<String>§reduce_only: Option<bool>§side: Option<String>§trading_pair_id: Option<Uuid>Trait Implementations§
Source§impl Clone for SimulateParentMarginOrderRiskRequest
impl Clone for SimulateParentMarginOrderRiskRequest
Source§fn clone(&self) -> SimulateParentMarginOrderRiskRequest
fn clone(&self) -> SimulateParentMarginOrderRiskRequest
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 moreSource§impl<'de> Deserialize<'de> for SimulateParentMarginOrderRiskRequest
impl<'de> Deserialize<'de> for SimulateParentMarginOrderRiskRequest
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
Auto Trait Implementations§
impl Freeze for SimulateParentMarginOrderRiskRequest
impl RefUnwindSafe for SimulateParentMarginOrderRiskRequest
impl Send for SimulateParentMarginOrderRiskRequest
impl Sync for SimulateParentMarginOrderRiskRequest
impl Unpin for SimulateParentMarginOrderRiskRequest
impl UnsafeUnpin for SimulateParentMarginOrderRiskRequest
impl UnwindSafe for SimulateParentMarginOrderRiskRequest
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