pub struct Order {Show 15 fields
pub client_order_id: String,
pub cummulative_quote_qty: String,
pub executed_qty: String,
pub order_id: i64,
pub order_list_id: i64,
pub orig_client_order_id: String,
pub orig_qty: String,
pub price: String,
pub self_trade_prevention_mode: String,
pub side: String,
pub status: String,
pub symbol: String,
pub time_in_force: String,
pub transact_time: i64,
pub type_: String,
}
Expand description
Order
JSON schema
{
"type": "object",
"required": [
"clientOrderId",
"cummulativeQuoteQty",
"executedQty",
"orderId",
"orderListId",
"origClientOrderId",
"origQty",
"price",
"selfTradePreventionMode",
"side",
"status",
"symbol",
"timeInForce",
"transactTime",
"type"
],
"properties": {
"clientOrderId": {
"examples": [
"6gCrw2kRUAF9CvJDGP16IP"
],
"type": "string"
},
"cummulativeQuoteQty": {
"examples": [
"10.00000000"
],
"type": "string"
},
"executedQty": {
"examples": [
"10.00000000"
],
"type": "string"
},
"orderId": {
"examples": [
28
],
"type": "integer",
"format": "int64"
},
"orderListId": {
"description": "Unless OCO, value will be -1",
"examples": [
-1
],
"type": "integer",
"format": "int64"
},
"origClientOrderId": {
"examples": [
"msXkySR3u5uYwpvRMFsi3u"
],
"type": "string"
},
"origQty": {
"examples": [
"10.00000000"
],
"type": "string"
},
"price": {
"examples": [
"1.00000000"
],
"type": "string"
},
"selfTradePreventionMode": {
"examples": [
"NONE"
],
"type": "string"
},
"side": {
"examples": [
"SELL"
],
"type": "string"
},
"status": {
"examples": [
"FILLED"
],
"type": "string"
},
"symbol": {
"examples": [
"BNBBTC"
],
"type": "string"
},
"timeInForce": {
"examples": [
"GTC"
],
"type": "string"
},
"transactTime": {
"examples": [
1507725176595
],
"type": "integer",
"format": "int64"
},
"type": {
"examples": [
"LIMIT"
],
"type": "string"
}
}
}
Fields§
§client_order_id: String
§cummulative_quote_qty: String
§executed_qty: String
§order_id: i64
§order_list_id: i64
Unless OCO, value will be -1
orig_client_order_id: String
§orig_qty: String
§price: String
§self_trade_prevention_mode: String
§side: String
§status: String
§symbol: String
§time_in_force: String
§transact_time: i64
§type_: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Order
impl<'de> Deserialize<'de> for Order
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<Order> for CancelOpenOrdersResponseItem
impl From<Order> for CancelOpenOrdersResponseItem
Auto Trait Implementations§
impl Freeze for Order
impl RefUnwindSafe for Order
impl Send for Order
impl Sync for Order
impl Unpin for Order
impl UnwindSafe for Order
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