pub struct PendingOrder {
pub client_id: ClientOrderId,
pub exchange_order_id: ExchangeOrderId,
pub instrument: InstrumentId,
pub side: OrderSide,
pub price: Price,
pub qty: Qty,
pub remaining_qty: Qty,
pub created_at: i64,
}Expand description
A pending order waiting to be filled
Fields§
§client_id: ClientOrderIdClient order ID.
exchange_order_id: ExchangeOrderIdSimulated exchange order ID.
instrument: InstrumentIdInstrument being traded.
side: OrderSideOrder side.
price: PriceLimit price.
qty: QtyOriginal order quantity.
remaining_qty: QtyQuantity not yet filled.
created_at: i64Creation timestamp in milliseconds.
Trait Implementations§
Source§impl Clone for PendingOrder
impl Clone for PendingOrder
Source§fn clone(&self) -> PendingOrder
fn clone(&self) -> PendingOrder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PendingOrder
impl RefUnwindSafe for PendingOrder
impl Send for PendingOrder
impl Sync for PendingOrder
impl Unpin for PendingOrder
impl UnsafeUnpin for PendingOrder
impl UnwindSafe for PendingOrder
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