Struct lfest::prelude::ExchangeOrderMeta
source · pub struct ExchangeOrderMeta { /* private fields */ }
Expand description
Additional data about the order filled in by the exchange.
Implementations§
source§impl ExchangeOrderMeta
impl ExchangeOrderMeta
sourcepub fn id(&self) -> OrderId
pub fn id(&self) -> OrderId
The global order sequence number assigned by the exchange upon receiving it.
sourcepub fn ts_ns_exchange_received(&self) -> TimestampNs
pub fn ts_ns_exchange_received(&self) -> TimestampNs
timestamp in nanoseconds, when the exchange has received the order. Will be the simulated time, not actual computer (OS) time.
Trait Implementations§
source§impl Clone for ExchangeOrderMeta
impl Clone for ExchangeOrderMeta
source§fn clone(&self) -> ExchangeOrderMeta
fn clone(&self) -> ExchangeOrderMeta
Returns a copy 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 ExchangeOrderMeta
impl Debug for ExchangeOrderMeta
source§impl PartialEq for ExchangeOrderMeta
impl PartialEq for ExchangeOrderMeta
source§fn eq(&self, other: &ExchangeOrderMeta) -> bool
fn eq(&self, other: &ExchangeOrderMeta) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ExchangeOrderMeta
impl StructuralPartialEq for ExchangeOrderMeta
Auto Trait Implementations§
impl Freeze for ExchangeOrderMeta
impl RefUnwindSafe for ExchangeOrderMeta
impl Send for ExchangeOrderMeta
impl Sync for ExchangeOrderMeta
impl Unpin for ExchangeOrderMeta
impl UnwindSafe for ExchangeOrderMeta
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