pub struct MarginOcoOrderOrdersItem {
pub client_order_id: String,
pub order_id: i64,
pub symbol: String,
}
Expand description
MarginOcoOrderOrdersItem
JSON schema
{
"examples": [
[
{
"clientOrderId": "pO9ufTiFGg3nw2fOdgeOXa",
"orderId": 2,
"symbol": "BNBUSDT"
},
{
"clientOrderId": "TXOvglzXuaubXAaENpaRCB",
"orderId": 3,
"symbol": "BNBUSDT"
}
]
],
"type": "object",
"required": [
"clientOrderId",
"orderId",
"symbol"
],
"properties": {
"clientOrderId": {
"type": "string"
},
"orderId": {
"type": "integer",
"format": "int64"
},
"symbol": {
"type": "string"
}
}
}
Fields§
§client_order_id: String
§order_id: i64
§symbol: String
Trait Implementations§
Source§impl Clone for MarginOcoOrderOrdersItem
impl Clone for MarginOcoOrderOrdersItem
Source§fn clone(&self) -> MarginOcoOrderOrdersItem
fn clone(&self) -> MarginOcoOrderOrdersItem
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 MarginOcoOrderOrdersItem
impl Debug for MarginOcoOrderOrdersItem
Source§impl<'de> Deserialize<'de> for MarginOcoOrderOrdersItem
impl<'de> Deserialize<'de> for MarginOcoOrderOrdersItem
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<&MarginOcoOrderOrdersItem> for MarginOcoOrderOrdersItem
impl From<&MarginOcoOrderOrdersItem> for MarginOcoOrderOrdersItem
Source§fn from(value: &MarginOcoOrderOrdersItem) -> Self
fn from(value: &MarginOcoOrderOrdersItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MarginOcoOrderOrdersItem
impl RefUnwindSafe for MarginOcoOrderOrdersItem
impl Send for MarginOcoOrderOrdersItem
impl Sync for MarginOcoOrderOrdersItem
impl Unpin for MarginOcoOrderOrdersItem
impl UnwindSafe for MarginOcoOrderOrdersItem
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