pub struct PendingTpsl {
pub dynamic_size: bool,
pub sl: Option<TpslLeg>,
pub tp: Option<TpslLeg>,
}Expand description
PendingTpsl
JSON schema
{
"type": "object",
"required": [
"dynamicSize"
],
"properties": {
"dynamicSize": {
"description": "if true, the activated trigger orders track the parent's filled size;\notherwise they use the size baked in at placement",
"type": "boolean"
},
"sl": {
"oneOf": [
{
"type": "null"
},
{
"oneOf": [
{
"$ref": "#/components/schemas/TpslLeg"
}
]
}
]
},
"tp": {
"oneOf": [
{
"type": "null"
},
{
"oneOf": [
{
"$ref": "#/components/schemas/TpslLeg"
}
]
}
]
}
}
}Fields§
§dynamic_size: boolif true, the activated trigger orders track the parent’s filled size; otherwise they use the size baked in at placement
sl: Option<TpslLeg>§tp: Option<TpslLeg>Trait Implementations§
Source§impl Clone for PendingTpsl
impl Clone for PendingTpsl
Source§fn clone(&self) -> PendingTpsl
fn clone(&self) -> PendingTpsl
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 Debug for PendingTpsl
impl Debug for PendingTpsl
Source§impl<'de> Deserialize<'de> for PendingTpsl
impl<'de> Deserialize<'de> for PendingTpsl
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 PendingTpsl
impl RefUnwindSafe for PendingTpsl
impl Send for PendingTpsl
impl Sync for PendingTpsl
impl Unpin for PendingTpsl
impl UnsafeUnpin for PendingTpsl
impl UnwindSafe for PendingTpsl
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