pub struct AlgoSpotSubOrdersResponse {
pub executed_amt: String,
pub executed_qty: String,
pub sub_orders: Vec<AlgoSpotSubOrdersResponseSubOrdersItem>,
pub total: i64,
}
Expand description
AlgoSpotSubOrdersResponse
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",
"executedQty",
"feeAmt",
"feeAsset",
"orderId",
"orderStatus",
"origQty",
"side",
"subId",
"symbol",
"timeInForce"
],
"properties": {
"algoId": {
"examples": [
14517
],
"type": "integer"
},
"avgPrice": {
"examples": [
"3229.44"
],
"type": "string"
},
"bookTime": {
"examples": [
1649319001964
],
"type": "integer",
"format": "int64"
},
"executedAmt": {
"examples": [
"0.000"
],
"type": "string"
},
"executedQty": {
"examples": [
"0.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"
},
"symbol": {
"examples": [
"ETHUSDT"
],
"type": "string"
},
"timeInForce": {
"examples": [
"IMMEDIATE_OR_CANCEL"
],
"type": "string"
}
}
}
},
"total": {
"examples": [
1
],
"type": "integer",
"format": "int64"
}
}
}
Fields§
§executed_amt: String
§executed_qty: String
§sub_orders: Vec<AlgoSpotSubOrdersResponseSubOrdersItem>
§total: i64
Trait Implementations§
Source§impl Clone for AlgoSpotSubOrdersResponse
impl Clone for AlgoSpotSubOrdersResponse
Source§fn clone(&self) -> AlgoSpotSubOrdersResponse
fn clone(&self) -> AlgoSpotSubOrdersResponse
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 AlgoSpotSubOrdersResponse
impl Debug for AlgoSpotSubOrdersResponse
Source§impl<'de> Deserialize<'de> for AlgoSpotSubOrdersResponse
impl<'de> Deserialize<'de> for AlgoSpotSubOrdersResponse
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<&AlgoSpotSubOrdersResponse> for AlgoSpotSubOrdersResponse
impl From<&AlgoSpotSubOrdersResponse> for AlgoSpotSubOrdersResponse
Source§fn from(value: &AlgoSpotSubOrdersResponse) -> Self
fn from(value: &AlgoSpotSubOrdersResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AlgoSpotSubOrdersResponse
impl RefUnwindSafe for AlgoSpotSubOrdersResponse
impl Send for AlgoSpotSubOrdersResponse
impl Sync for AlgoSpotSubOrdersResponse
impl Unpin for AlgoSpotSubOrdersResponse
impl UnwindSafe for AlgoSpotSubOrdersResponse
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