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