pub struct MarginOrderResponseFull {Show 16 fields
pub client_order_id: String,
pub cummulative_quote_qty: String,
pub executed_qty: String,
pub fills: Vec<MarginOrderResponseFullFillsItem>,
pub is_isolated: bool,
pub margin_buy_borrow_amount: f64,
pub margin_buy_borrow_asset: String,
pub order_id: i64,
pub orig_qty: String,
pub price: String,
pub side: String,
pub status: String,
pub symbol: String,
pub time_in_force: String,
pub transact_time: i64,
pub type_: String,
}
Expand description
MarginOrderResponseFull
JSON schema
{
"type": "object",
"required": [
"clientOrderId",
"cummulativeQuoteQty",
"executedQty",
"fills",
"isIsolated",
"marginBuyBorrowAmount",
"marginBuyBorrowAsset",
"orderId",
"origQty",
"price",
"side",
"status",
"symbol",
"timeInForce",
"transactTime",
"type"
],
"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"
}
}
}
},
"isIsolated": {
"type": "boolean"
},
"marginBuyBorrowAmount": {
"description": "will not return if no margin trade happens",
"examples": [
5
],
"type": "number",
"format": "double"
},
"marginBuyBorrowAsset": {
"description": "will not return if no margin trade happens",
"examples": [
"BTC"
],
"type": "string"
},
"orderId": {
"examples": [
28
],
"type": "integer",
"format": "int64"
},
"origQty": {
"examples": [
"10.00000000"
],
"type": "string"
},
"price": {
"examples": [
"1.00000000"
],
"type": "string"
},
"side": {
"examples": [
"SELL"
],
"type": "string"
},
"status": {
"examples": [
"FILLED"
],
"type": "string"
},
"symbol": {
"examples": [
"BTCUSDT"
],
"type": "string"
},
"timeInForce": {
"examples": [
"GTC"
],
"type": "string"
},
"transactTime": {
"examples": [
1507725176595
],
"type": "integer",
"format": "int64"
},
"type": {
"examples": [
"MARKET"
],
"type": "string"
}
}
}
Fields§
§client_order_id: String
§cummulative_quote_qty: String
§executed_qty: String
§fills: Vec<MarginOrderResponseFullFillsItem>
§is_isolated: bool
§margin_buy_borrow_amount: f64
§margin_buy_borrow_asset: String
will not return if no margin trade happens
order_id: i64
§orig_qty: String
§price: String
§side: String
§status: String
§symbol: String
§time_in_force: String
§transact_time: i64
§type_: String
Trait Implementations§
Source§impl Clone for MarginOrderResponseFull
impl Clone for MarginOrderResponseFull
Source§fn clone(&self) -> MarginOrderResponseFull
fn clone(&self) -> MarginOrderResponseFull
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 MarginOrderResponseFull
impl Debug for MarginOrderResponseFull
Source§impl<'de> Deserialize<'de> for MarginOrderResponseFull
impl<'de> Deserialize<'de> for MarginOrderResponseFull
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<&MarginOrderResponseFull> for MarginOrderResponseFull
impl From<&MarginOrderResponseFull> for MarginOrderResponseFull
Source§fn from(value: &MarginOrderResponseFull) -> Self
fn from(value: &MarginOrderResponseFull) -> Self
Converts to this type from the input type.
Source§impl From<MarginOrderResponseFull> for PostMarginOrderResponse
impl From<MarginOrderResponseFull> for PostMarginOrderResponse
Source§fn from(value: MarginOrderResponseFull) -> Self
fn from(value: MarginOrderResponseFull) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MarginOrderResponseFull
impl RefUnwindSafe for MarginOrderResponseFull
impl Send for MarginOrderResponseFull
impl Sync for MarginOrderResponseFull
impl Unpin for MarginOrderResponseFull
impl UnwindSafe for MarginOrderResponseFull
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