pub struct AlgoFuturesSubOrdersResponse {
pub executed_amt: String,
pub executed_qty: String,
pub sub_orders: Vec<AlgoFuturesSubOrdersResponseSubOrdersItem>,
pub total: i32,
}
Expand description
AlgoFuturesSubOrdersResponse
JSON schema
{
"type": "object",
"required": [
"executedAmt",
"executedQty",
"subOrders",
"total"
],
"properties": {
"executedAmt": {
"examples": [
"3229.44000000"
],
"type": "string"
},
"executedQty": {
"examples": [
"1.000"
],
"type": "string"
},
"subOrders": {
"type": "array",
"items": {
"type": "object",
"required": [
"algoId",
"avgPrice",
"bookTime",
"executedAmt",
"feeAmt",
"feeAsset",
"orderId",
"orderStatus",
"origQty",
"side",
"subId",
"symbol",
"timeInForce"
],
"properties": {
"algoId": {
"examples": [
13723
],
"type": "integer",
"format": "int64"
},
"avgPrice": {
"examples": [
"3229.44"
],
"type": "string"
},
"bookTime": {
"examples": [
1649756817004
],
"type": "integer",
"format": "int64"
},
"executedAmt": {
"examples": [
"3229.44000000"
],
"type": "string"
},
"executedQty": {
"examples": [
"1.000"
],
"type": "string"
},
"feeAmt": {
"examples": [
"-1.61471999"
],
"type": "string"
},
"feeAsset": {
"examples": [
"USDT"
],
"type": "string"
},
"orderId": {
"examples": [
8389765519993908929
],
"type": "integer",
"format": "int64"
},
"orderStatus": {
"examples": [
"FILLED"
],
"type": "string"
},
"origQty": {
"examples": [
"1.000"
],
"type": "string"
},
"side": {
"examples": [
"SELL"
],
"type": "string"
},
"subId": {
"examples": [
1
],
"type": "integer",
"format": "int64"
},
"symbol": {
"examples": [
"ETHUSDT"
],
"type": "string"
},
"timeInForce": {
"examples": [
"IMMEDIATE_OR_CANCEL"
],
"type": "string"
}
}
}
},
"total": {
"examples": [
1
],
"type": "integer",
"format": "int32"
}
}
}
Fields§
§executed_amt: String
§executed_qty: String
§sub_orders: Vec<AlgoFuturesSubOrdersResponseSubOrdersItem>
§total: i32
Trait Implementations§
Source§impl Clone for AlgoFuturesSubOrdersResponse
impl Clone for AlgoFuturesSubOrdersResponse
Source§fn clone(&self) -> AlgoFuturesSubOrdersResponse
fn clone(&self) -> AlgoFuturesSubOrdersResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 AlgoFuturesSubOrdersResponse
impl Debug for AlgoFuturesSubOrdersResponse
Source§impl<'de> Deserialize<'de> for AlgoFuturesSubOrdersResponse
impl<'de> Deserialize<'de> for AlgoFuturesSubOrdersResponse
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
Source§impl From<&AlgoFuturesSubOrdersResponse> for AlgoFuturesSubOrdersResponse
impl From<&AlgoFuturesSubOrdersResponse> for AlgoFuturesSubOrdersResponse
Source§fn from(value: &AlgoFuturesSubOrdersResponse) -> Self
fn from(value: &AlgoFuturesSubOrdersResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AlgoFuturesSubOrdersResponse
impl RefUnwindSafe for AlgoFuturesSubOrdersResponse
impl Send for AlgoFuturesSubOrdersResponse
impl Sync for AlgoFuturesSubOrdersResponse
impl Unpin for AlgoFuturesSubOrdersResponse
impl UnwindSafe for AlgoFuturesSubOrdersResponse
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