pub struct Filled { /* private fields */ }
Expand description
The order has been fully filled. The executed order quantity is stored elsewhere.
Implementations§
source§impl Filled
impl Filled
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.
Trait Implementations§
source§impl PartialEq for Filled
impl PartialEq for Filled
impl Eq for Filled
impl StructuralPartialEq for Filled
Auto Trait Implementations§
impl Freeze for Filled
impl RefUnwindSafe for Filled
impl Send for Filled
impl Sync for Filled
impl Unpin for Filled
impl UnwindSafe for Filled
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