pub struct TpSlLeg {
pub expires_at: Option<String>,
pub limit_price: Option<String>,
pub order_type: Option<String>,
pub quantity: Option<String>,
pub slippage_tolerance_bps: Option<i32>,
pub time_in_force: Option<String>,
pub trigger_price: Option<String>,
}Expand description
TpSlLeg
JSON schema
{
"type": "object",
"properties": {
"expiresAt": {
"type": [
"string",
"null"
]
},
"limitPrice": {
"type": [
"string",
"null"
]
},
"orderType": {
"type": [
"string",
"null"
]
},
"quantity": {
"type": [
"string",
"null"
]
},
"slippageToleranceBps": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"timeInForce": {
"type": [
"string",
"null"
]
},
"triggerPrice": {
"type": [
"string",
"null"
]
}
}
}Fields§
§expires_at: Option<String>§limit_price: Option<String>§order_type: Option<String>§quantity: Option<String>§slippage_tolerance_bps: Option<i32>§time_in_force: Option<String>§trigger_price: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for TpSlLeg
impl<'de> Deserialize<'de> for TpSlLeg
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 TpSlLeg
impl RefUnwindSafe for TpSlLeg
impl Send for TpSlLeg
impl Sync for TpSlLeg
impl Unpin for TpSlLeg
impl UnsafeUnpin for TpSlLeg
impl UnwindSafe for TpSlLeg
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