pub struct SorOrderResponse {Show 18 fields
pub client_order_id: String,
pub cummulative_quote_qty: String,
pub executed_qty: String,
pub fills: Vec<SorOrderResponseFillsItem>,
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 symbol: String,
pub time_in_force: String,
pub transact_time: i64,
pub type_: String,
pub used_sor: bool,
pub working_floor: String,
pub working_time: i64,
}
Expand description
SorOrderResponse
JSON schema
{
"type": "object",
"required": [
"clientOrderId",
"cummulativeQuoteQty",
"executedQty",
"fills",
"orderId",
"orderListId",
"origQty",
"price",
"selfTradePreventionMode",
"side",
"status",
"symbol",
"timeInForce",
"transactTime",
"type",
"usedSor",
"workingFloor",
"workingTime"
],
"properties": {
"clientOrderId": {
"examples": [
"sBI1KM6nNtOfj5tccZSKly"
],
"type": "string"
},
"cummulativeQuoteQty": {
"examples": [
"14000.00000000"
],
"type": "string"
},
"executedQty": {
"examples": [
"0.50000000"
],
"type": "string"
},
"fills": {
"type": "array",
"items": {
"type": "object",
"required": [
"allocId",
"commission",
"commissionAsset",
"matchType",
"price",
"qty",
"tradeId"
],
"properties": {
"allocId": {
"examples": [
0
],
"type": "integer",
"format": "int64"
},
"commission": {
"examples": [
"0.00000000"
],
"type": "string"
},
"commissionAsset": {
"examples": [
"BTC"
],
"type": "string"
},
"matchType": {
"examples": [
"ONE_PARTY_TRADE_REPORT"
],
"type": "string"
},
"price": {
"examples": [
"28000.00000000"
],
"type": "string"
},
"qty": {
"examples": [
"0.50000000"
],
"type": "string"
},
"tradeId": {
"examples": [
-1
],
"type": "integer",
"format": "int64"
}
}
}
},
"orderId": {
"examples": [
2
],
"type": "integer",
"format": "int64"
},
"orderListId": {
"examples": [
-1
],
"type": "integer",
"format": "int64"
},
"origQty": {
"examples": [
"0.50000000"
],
"type": "string"
},
"price": {
"examples": [
"31000.00000000"
],
"type": "string"
},
"selfTradePreventionMode": {
"examples": [
"NONE"
],
"type": "string"
},
"side": {
"examples": [
"BUY"
],
"type": "string"
},
"status": {
"examples": [
"FILLED"
],
"type": "string"
},
"symbol": {
"examples": [
"BTCUSDT"
],
"type": "string"
},
"timeInForce": {
"examples": [
"GTC"
],
"type": "string"
},
"transactTime": {
"examples": [
1689149087774
],
"type": "integer",
"format": "int64"
},
"type": {
"examples": [
"LIMIT"
],
"type": "string"
},
"usedSor": {
"examples": [
true
],
"type": "boolean"
},
"workingFloor": {
"examples": [
"SOR"
],
"type": "string"
},
"workingTime": {
"examples": [
1689149087774
],
"type": "integer",
"format": "int64"
}
}
}
Fields§
§client_order_id: String
§cummulative_quote_qty: String
§executed_qty: String
§fills: Vec<SorOrderResponseFillsItem>
§order_id: i64
§order_list_id: i64
§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
§used_sor: bool
§working_floor: String
§working_time: i64
Trait Implementations§
Source§impl Clone for SorOrderResponse
impl Clone for SorOrderResponse
Source§fn clone(&self) -> SorOrderResponse
fn clone(&self) -> SorOrderResponse
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 SorOrderResponse
impl Debug for SorOrderResponse
Source§impl<'de> Deserialize<'de> for SorOrderResponse
impl<'de> Deserialize<'de> for SorOrderResponse
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<&SorOrderResponse> for SorOrderResponse
impl From<&SorOrderResponse> for SorOrderResponse
Source§fn from(value: &SorOrderResponse) -> Self
fn from(value: &SorOrderResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SorOrderResponse
impl RefUnwindSafe for SorOrderResponse
impl Send for SorOrderResponse
impl Sync for SorOrderResponse
impl Unpin for SorOrderResponse
impl UnwindSafe for SorOrderResponse
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