pub struct AlgoSpotHistoricalOrdersResponse {
pub orders: Vec<AlgoSpotHistoricalOrdersResponseOrdersItem>,
pub total: i64,
}
Expand description
AlgoSpotHistoricalOrdersResponse
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": [
"VP"
],
"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<AlgoSpotHistoricalOrdersResponseOrdersItem>
§total: i64
Trait Implementations§
Source§impl Clone for AlgoSpotHistoricalOrdersResponse
impl Clone for AlgoSpotHistoricalOrdersResponse
Source§fn clone(&self) -> AlgoSpotHistoricalOrdersResponse
fn clone(&self) -> AlgoSpotHistoricalOrdersResponse
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 AlgoSpotHistoricalOrdersResponse
impl<'de> Deserialize<'de> for AlgoSpotHistoricalOrdersResponse
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<&AlgoSpotHistoricalOrdersResponse> for AlgoSpotHistoricalOrdersResponse
impl From<&AlgoSpotHistoricalOrdersResponse> for AlgoSpotHistoricalOrdersResponse
Source§fn from(value: &AlgoSpotHistoricalOrdersResponse) -> Self
fn from(value: &AlgoSpotHistoricalOrdersResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AlgoSpotHistoricalOrdersResponse
impl RefUnwindSafe for AlgoSpotHistoricalOrdersResponse
impl Send for AlgoSpotHistoricalOrdersResponse
impl Sync for AlgoSpotHistoricalOrdersResponse
impl Unpin for AlgoSpotHistoricalOrdersResponse
impl UnwindSafe for AlgoSpotHistoricalOrdersResponse
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