pub struct AttachPositionTpSlResponse {
pub message: Option<String>,
pub position_id: Option<String>,
pub status: Option<String>,
pub stop_loss_order_id: Option<String>,
pub take_profit_order_id: Option<String>,
}Expand description
AttachPositionTpSlResponse
JSON schema
{
"type": "object",
"properties": {
"message": {
"type": [
"string",
"null"
]
},
"positionId": {
"type": [
"string",
"null"
]
},
"status": {
"type": [
"string",
"null"
]
},
"stopLossOrderId": {
"type": [
"string",
"null"
]
},
"takeProfitOrderId": {
"type": [
"string",
"null"
]
}
}
}Fields§
§message: Option<String>§position_id: Option<String>§status: Option<String>§stop_loss_order_id: Option<String>§take_profit_order_id: Option<String>Trait Implementations§
Source§impl Clone for AttachPositionTpSlResponse
impl Clone for AttachPositionTpSlResponse
Source§fn clone(&self) -> AttachPositionTpSlResponse
fn clone(&self) -> AttachPositionTpSlResponse
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 AttachPositionTpSlResponse
impl Debug for AttachPositionTpSlResponse
Source§impl Default for AttachPositionTpSlResponse
impl Default for AttachPositionTpSlResponse
Source§impl<'de> Deserialize<'de> for AttachPositionTpSlResponse
impl<'de> Deserialize<'de> for AttachPositionTpSlResponse
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 AttachPositionTpSlResponse
impl RefUnwindSafe for AttachPositionTpSlResponse
impl Send for AttachPositionTpSlResponse
impl Sync for AttachPositionTpSlResponse
impl Unpin for AttachPositionTpSlResponse
impl UnsafeUnpin for AttachPositionTpSlResponse
impl UnwindSafe for AttachPositionTpSlResponse
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