pub struct OrderReport {Show 14 fields
pub symbol: String,
pub order_id: i64,
pub order_list_id: i64,
pub client_order_id: Option<String>,
pub transact_time: i64,
pub price: String,
pub orig_qty: String,
pub executed_qty: String,
pub cummulative_quote_qty: String,
pub status: String,
pub time_in_force: String,
pub type_: String,
pub side: String,
pub stop_price: Option<String>,
}Expand description
OCO order report with detailed status.
Fields§
§symbol: StringTrading pair symbol.
order_id: i64Order ID.
order_list_id: i64OCO order list ID.
client_order_id: Option<String>Client order ID.
transact_time: i64Transaction timestamp.
price: StringPrice.
orig_qty: StringOriginal quantity.
executed_qty: StringExecuted quantity.
cummulative_quote_qty: StringCumulative quote quantity.
status: StringOrder status.
time_in_force: StringTime in force.
type_: StringOrder type.
side: StringOrder side.
stop_price: Option<String>Stop price (optional).
Trait Implementations§
Source§impl Clone for OrderReport
impl Clone for OrderReport
Source§fn clone(&self) -> OrderReport
fn clone(&self) -> OrderReport
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 OrderReport
impl Debug for OrderReport
Source§impl<'de> Deserialize<'de> for OrderReport
impl<'de> Deserialize<'de> for OrderReport
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OrderReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OrderReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for OrderReport
impl Serialize for OrderReport
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for OrderReport
impl RefUnwindSafe for OrderReport
impl Send for OrderReport
impl Sync for OrderReport
impl Unpin for OrderReport
impl UnwindSafe for OrderReport
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