pub struct OrderResponseResult {Show 17 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_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
OrderResponseResult
JSON schema
{
"type": "object",
"required": [
"clientOrderId",
"cummulativeQuoteQty",
"executedQty",
"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"
},
"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
§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 OrderResponseResult
impl Clone for OrderResponseResult
Source§fn clone(&self) -> OrderResponseResult
fn clone(&self) -> OrderResponseResult
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 OrderResponseResult
impl Debug for OrderResponseResult
Source§impl<'de> Deserialize<'de> for OrderResponseResult
impl<'de> Deserialize<'de> for OrderResponseResult
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<&OrderResponseResult> for OrderResponseResult
impl From<&OrderResponseResult> for OrderResponseResult
Source§fn from(value: &OrderResponseResult) -> Self
fn from(value: &OrderResponseResult) -> Self
Converts to this type from the input type.
Source§impl From<OrderResponseResult> for PlaceNewOrderResponse
impl From<OrderResponseResult> for PlaceNewOrderResponse
Source§fn from(value: OrderResponseResult) -> Self
fn from(value: OrderResponseResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OrderResponseResult
impl RefUnwindSafe for OrderResponseResult
impl Send for OrderResponseResult
impl Sync for OrderResponseResult
impl Unpin for OrderResponseResult
impl UnwindSafe for OrderResponseResult
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