pub struct AlgoFuturesOpenOrdersResponse {
pub orders: Vec<AlgoFuturesOpenOrdersResponseOrdersItem>,
pub total: i32,
}
Expand description
AlgoFuturesOpenOrdersResponse
JSON schema
{
"type": "object",
"required": [
"total"
],
"properties": {
"orders": {
"type": "array",
"items": {
"type": "object",
"required": [
"algoId",
"algoStatus",
"algoType",
"avgPrice",
"bookTime",
"clientAlgoId",
"endTime",
"executedAmt",
"executedQty",
"positionSide",
"side",
"symbol",
"totalQty",
"urgency"
],
"properties": {
"algoId": {
"examples": [
14517
],
"type": "integer",
"format": "int64"
},
"algoStatus": {
"examples": [
"WORKING"
],
"type": "string"
},
"algoType": {
"examples": [
"VP"
],
"type": "string"
},
"avgPrice": {
"examples": [
"0.00"
],
"type": "string"
},
"bookTime": {
"examples": [
1649756817004
],
"type": "integer",
"format": "int64"
},
"clientAlgoId": {
"examples": [
"d7096549481642f8a0bb69e9e2e31f2e"
],
"type": "string"
},
"endTime": {
"examples": [
0
],
"type": "integer",
"format": "int64"
},
"executedAmt": {
"examples": [
"0.00000000"
],
"type": "string"
},
"executedQty": {
"examples": [
"0.000"
],
"type": "string"
},
"positionSide": {
"examples": [
"SHORT"
],
"type": "string"
},
"side": {
"examples": [
"SELL"
],
"type": "string"
},
"symbol": {
"examples": [
"ETHUSDT"
],
"type": "string"
},
"totalQty": {
"examples": [
"5.00"
],
"type": "string"
},
"urgency": {
"examples": [
"LOW"
],
"type": "string"
}
}
}
},
"total": {
"examples": [
1
],
"type": "integer",
"format": "int32"
}
}
}
Fields§
§orders: Vec<AlgoFuturesOpenOrdersResponseOrdersItem>
§total: i32
Trait Implementations§
Source§impl Clone for AlgoFuturesOpenOrdersResponse
impl Clone for AlgoFuturesOpenOrdersResponse
Source§fn clone(&self) -> AlgoFuturesOpenOrdersResponse
fn clone(&self) -> AlgoFuturesOpenOrdersResponse
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<'de> Deserialize<'de> for AlgoFuturesOpenOrdersResponse
impl<'de> Deserialize<'de> for AlgoFuturesOpenOrdersResponse
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<&AlgoFuturesOpenOrdersResponse> for AlgoFuturesOpenOrdersResponse
impl From<&AlgoFuturesOpenOrdersResponse> for AlgoFuturesOpenOrdersResponse
Source§fn from(value: &AlgoFuturesOpenOrdersResponse) -> Self
fn from(value: &AlgoFuturesOpenOrdersResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AlgoFuturesOpenOrdersResponse
impl RefUnwindSafe for AlgoFuturesOpenOrdersResponse
impl Send for AlgoFuturesOpenOrdersResponse
impl Sync for AlgoFuturesOpenOrdersResponse
impl Unpin for AlgoFuturesOpenOrdersResponse
impl UnwindSafe for AlgoFuturesOpenOrdersResponse
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