pub struct TradePrint {
pub symbol: SymbolId,
pub price: i64,
pub size: i64,
pub aggressor_side: Side,
pub sequence: u64,
pub ts_exchange_ns: u64,
pub ts_recv_ns: u64,
}Expand description
Last-trade print/tick.
Fields§
§symbol: SymbolIdSymbol that traded.
price: i64Trade price.
size: i64Trade size.
aggressor_side: SideAggressor side for the print.
sequence: u64Venue sequence number when available.
ts_exchange_ns: u64Exchange timestamp in nanoseconds.
ts_recv_ns: u64Local receive timestamp in nanoseconds.
Trait Implementations§
Source§impl Clone for TradePrint
impl Clone for TradePrint
Source§fn clone(&self) -> TradePrint
fn clone(&self) -> TradePrint
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 TradePrint
impl RefUnwindSafe for TradePrint
impl Send for TradePrint
impl Sync for TradePrint
impl Unpin for TradePrint
impl UnsafeUnpin for TradePrint
impl UnwindSafe for TradePrint
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