pub struct OrderResponseFull {Show 18 fields
pub client_order_id: String,
pub cummulative_quote_qty: String,
pub executed_qty: String,
pub fills: Vec<OrderResponseFullFillsItem>,
pub order_id: i64,
pub order_list_id: i64,
pub orig_qty: String,
pub price: String,
pub self_trade_prevention_mode: String,
pub side: String,
pub status: String,
pub strategy_id: Option<i64>,
pub strategy_type: Option<i64>,
pub symbol: String,
pub time_in_force: String,
pub transact_time: i64,
pub type_: String,
pub working_time: i64,
}
Expand description
OrderResponseFull
JSON schema
{
"type": "object",
"required": [
"clientOrderId",
"cummulativeQuoteQty",
"executedQty",
"fills",
"orderId",
"orderListId",
"origQty",
"price",
"selfTradePreventionMode",
"side",
"status",
"symbol",
"timeInForce",
"transactTime",
"type",
"workingTime"
],
"properties": {
"clientOrderId": {
"examples": [
"6gCrw2kRUAF9CvJDGP16IP"
],
"type": "string"
},
"cummulativeQuoteQty": {
"examples": [
"10.00000000"
],
"type": "string"
},
"executedQty": {
"examples": [
"10.00000000"
],
"type": "string"
},
"fills": {
"type": "array",
"items": {
"type": "object",
"required": [
"commission",
"commissionAsset",
"price",
"qty"
],
"properties": {
"commission": {
"examples": [
"4.00000000"
],
"type": "string"
},
"commissionAsset": {
"examples": [
"USDT"
],
"type": "string"
},
"price": {
"examples": [
"4000.00000000"
],
"type": "string"
},
"qty": {
"examples": [
"1.00000000"
],
"type": "string"
}
}
}
},
"orderId": {
"examples": [
28
],
"type": "integer",
"format": "int64"
},
"orderListId": {
"examples": [
-1
],
"type": "integer",
"format": "int64"
},
"origQty": {
"examples": [
"10.00000000"
],
"type": "string"
},
"price": {
"examples": [
"0.00000000"
],
"type": "string"
},
"selfTradePreventionMode": {
"examples": [
"NONE"
],
"type": "string"
},
"side": {
"examples": [
"SELL"
],
"type": "string"
},
"status": {
"examples": [
"FILLED"
],
"type": "string"
},
"strategyId": {
"examples": [
1
],
"type": "integer",
"format": "int64"
},
"strategyType": {
"examples": [
1000000
],
"type": "integer",
"format": "int64"
},
"symbol": {
"examples": [
"BTCUSDT"
],
"type": "string"
},
"timeInForce": {
"examples": [
"GTC"
],
"type": "string"
},
"transactTime": {
"examples": [
1507725176595
],
"type": "integer",
"format": "int64"
},
"type": {
"examples": [
"MARKET"
],
"type": "string"
},
"workingTime": {
"examples": [
1507725176595
],
"type": "integer",
"format": "int64"
}
}
}
Fields§
§client_order_id: String
§cummulative_quote_qty: String
§executed_qty: String
§fills: Vec<OrderResponseFullFillsItem>
§order_id: i64
§order_list_id: i64
§orig_qty: String
§price: String
§self_trade_prevention_mode: String
§side: String
§status: String
§strategy_id: Option<i64>
§strategy_type: Option<i64>
§symbol: String
§time_in_force: String
§transact_time: i64
§type_: String
§working_time: i64
Trait Implementations§
Source§impl Clone for OrderResponseFull
impl Clone for OrderResponseFull
Source§fn clone(&self) -> OrderResponseFull
fn clone(&self) -> OrderResponseFull
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 OrderResponseFull
impl Debug for OrderResponseFull
Source§impl<'de> Deserialize<'de> for OrderResponseFull
impl<'de> Deserialize<'de> for OrderResponseFull
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<&OrderResponseFull> for OrderResponseFull
impl From<&OrderResponseFull> for OrderResponseFull
Source§fn from(value: &OrderResponseFull) -> Self
fn from(value: &OrderResponseFull) -> Self
Converts to this type from the input type.
Source§impl From<OrderResponseFull> for PlaceNewOrderResponse
impl From<OrderResponseFull> for PlaceNewOrderResponse
Source§fn from(value: OrderResponseFull) -> Self
fn from(value: OrderResponseFull) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OrderResponseFull
impl RefUnwindSafe for OrderResponseFull
impl Send for OrderResponseFull
impl Sync for OrderResponseFull
impl Unpin for OrderResponseFull
impl UnwindSafe for OrderResponseFull
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