pub struct Filled<Q>where
Q: Currency,{ /* private fields */ }
Expand description
The order has been fully filled. The executed order quantity is stored elsewhere.
Implementations§
source§impl<Q> Filled<Q>where
Q: Currency,
impl<Q> Filled<Q>where
Q: Currency,
sourcepub fn meta(&self) -> &ExchangeOrderMeta
pub fn meta(&self) -> &ExchangeOrderMeta
The now filled in order metadata.
source§impl<Q> Filled<Q>where
Q: Currency,
impl<Q> Filled<Q>where
Q: Currency,
sourcepub fn ts_ns_executed(&self) -> TimestampNs
pub fn ts_ns_executed(&self) -> TimestampNs
The timestamp in nanoseconds when the order was executed by the exchange. Will be the simulated time, not actual computer (OS) time.
sourcepub fn avg_fill_price(&self) -> QuoteCurrency
pub fn avg_fill_price(&self) -> QuoteCurrency
The average price the order has been filled at.
sourcepub fn filled_qty(&self) -> Q
pub fn filled_qty(&self) -> Q
The total filled quantity.
Trait Implementations§
source§impl<Q> PartialEq for Filled<Q>
impl<Q> PartialEq for Filled<Q>
impl<Q> Eq for Filled<Q>
impl<Q> StructuralPartialEq for Filled<Q>where
Q: Currency,
Auto Trait Implementations§
impl<Q> Freeze for Filled<Q>where
Q: Freeze,
impl<Q> RefUnwindSafe for Filled<Q>where
Q: RefUnwindSafe,
impl<Q> Send for Filled<Q>
impl<Q> Sync for Filled<Q>where
Q: Sync,
impl<Q> Unpin for Filled<Q>where
Q: Unpin,
impl<Q> UnwindSafe for Filled<Q>where
Q: UnwindSafe,
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