pub struct OrderResult {Show 15 fields
pub symbol: String,
pub order_id: u64,
pub order_list_id: i64,
pub client_order_id: String,
pub transact_time: u64,
pub price: f64,
pub orig_qty: f64,
pub executed_qty: f64,
pub cummulative_quote_qty: f64,
pub status: OrderStatus,
pub time_in_force: TimeInForce,
pub order_type: OrderType,
pub side: OrderSide,
pub working_time: Option<u64>,
pub self_trade_prevention_mode: Option<String>,
}Expand description
New order response (RESULT type).
Fields§
§symbol: StringSymbol.
order_id: u64Order ID.
order_list_id: i64Order list ID.
client_order_id: StringClient order ID.
transact_time: u64Transaction time.
price: f64Price.
orig_qty: f64Original quantity.
executed_qty: f64Executed quantity.
cummulative_quote_qty: f64Cumulative quote quantity.
status: OrderStatusOrder status.
time_in_force: TimeInForceTime in force.
order_type: OrderTypeOrder type.
side: OrderSideOrder side.
working_time: Option<u64>Working time.
self_trade_prevention_mode: Option<String>Self-trade prevention mode.
Trait Implementations§
Source§impl Clone for OrderResult
impl Clone for OrderResult
Source§fn clone(&self) -> OrderResult
fn clone(&self) -> OrderResult
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 OrderResult
impl Debug for OrderResult
Source§impl<'de> Deserialize<'de> for OrderResult
impl<'de> Deserialize<'de> for OrderResult
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
Auto Trait Implementations§
impl Freeze for OrderResult
impl RefUnwindSafe for OrderResult
impl Send for OrderResult
impl Sync for OrderResult
impl Unpin for OrderResult
impl UnwindSafe for OrderResult
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