pub struct AttachPositionTpSlRequest {
pub stop_loss: Option<TpSlLeg>,
pub take_profit: Option<TpSlLeg>,
}Expand description
AttachPositionTpSlRequest
JSON schema
{
"type": "object",
"properties": {
"stopLoss": {
"$ref": "#/components/schemas/TpSlLeg"
},
"takeProfit": {
"$ref": "#/components/schemas/TpSlLeg"
}
}
}Fields§
§stop_loss: Option<TpSlLeg>§take_profit: Option<TpSlLeg>Trait Implementations§
Source§impl Clone for AttachPositionTpSlRequest
impl Clone for AttachPositionTpSlRequest
Source§fn clone(&self) -> AttachPositionTpSlRequest
fn clone(&self) -> AttachPositionTpSlRequest
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 AttachPositionTpSlRequest
impl Debug for AttachPositionTpSlRequest
Source§impl Default for AttachPositionTpSlRequest
impl Default for AttachPositionTpSlRequest
Source§impl<'de> Deserialize<'de> for AttachPositionTpSlRequest
impl<'de> Deserialize<'de> for AttachPositionTpSlRequest
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 AttachPositionTpSlRequest
impl RefUnwindSafe for AttachPositionTpSlRequest
impl Send for AttachPositionTpSlRequest
impl Sync for AttachPositionTpSlRequest
impl Unpin for AttachPositionTpSlRequest
impl UnsafeUnpin for AttachPositionTpSlRequest
impl UnwindSafe for AttachPositionTpSlRequest
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