pub struct AlgoFuturesSubOrdersResponseSubOrdersItem {Show 14 fields
pub algo_id: i64,
pub avg_price: String,
pub book_time: i64,
pub executed_amt: String,
pub executed_qty: Option<String>,
pub fee_amt: String,
pub fee_asset: String,
pub order_id: i64,
pub order_status: String,
pub orig_qty: String,
pub side: String,
pub sub_id: i64,
pub symbol: String,
pub time_in_force: String,
}
Expand description
AlgoFuturesSubOrdersResponseSubOrdersItem
JSON schema
{
"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"
}
}
}
Fields§
§algo_id: i64
§avg_price: String
§book_time: i64
§executed_amt: String
§executed_qty: Option<String>
§fee_amt: String
§fee_asset: String
§order_id: i64
§order_status: String
§orig_qty: String
§side: String
§sub_id: i64
§symbol: String
§time_in_force: String
Trait Implementations§
Source§impl Clone for AlgoFuturesSubOrdersResponseSubOrdersItem
impl Clone for AlgoFuturesSubOrdersResponseSubOrdersItem
Source§fn clone(&self) -> AlgoFuturesSubOrdersResponseSubOrdersItem
fn clone(&self) -> AlgoFuturesSubOrdersResponseSubOrdersItem
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 AlgoFuturesSubOrdersResponseSubOrdersItem
impl<'de> Deserialize<'de> for AlgoFuturesSubOrdersResponseSubOrdersItem
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<&AlgoFuturesSubOrdersResponseSubOrdersItem> for AlgoFuturesSubOrdersResponseSubOrdersItem
impl From<&AlgoFuturesSubOrdersResponseSubOrdersItem> for AlgoFuturesSubOrdersResponseSubOrdersItem
Source§fn from(value: &AlgoFuturesSubOrdersResponseSubOrdersItem) -> Self
fn from(value: &AlgoFuturesSubOrdersResponseSubOrdersItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AlgoFuturesSubOrdersResponseSubOrdersItem
impl RefUnwindSafe for AlgoFuturesSubOrdersResponseSubOrdersItem
impl Send for AlgoFuturesSubOrdersResponseSubOrdersItem
impl Sync for AlgoFuturesSubOrdersResponseSubOrdersItem
impl Unpin for AlgoFuturesSubOrdersResponseSubOrdersItem
impl UnwindSafe for AlgoFuturesSubOrdersResponseSubOrdersItem
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