pub struct NormalizedTick {
pub exchange: Exchange,
pub symbol: String,
pub price: Decimal,
pub quantity: Decimal,
pub side: Option<TradeSide>,
pub trade_id: Option<String>,
pub exchange_ts_ms: Option<u64>,
pub received_at_ms: u64,
}Expand description
Canonical normalized tick — exchange-agnostic.
Fields§
§exchange: Exchange§symbol: String§price: Decimal§quantity: Decimal§side: Option<TradeSide>§trade_id: Option<String>§exchange_ts_ms: Option<u64>§received_at_ms: u64Trait Implementations§
Source§impl Clone for NormalizedTick
impl Clone for NormalizedTick
Source§fn clone(&self) -> NormalizedTick
fn clone(&self) -> NormalizedTick
Returns a duplicate 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 NormalizedTick
impl Debug for NormalizedTick
Source§impl<'de> Deserialize<'de> for NormalizedTick
impl<'de> Deserialize<'de> for NormalizedTick
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NormalizedTick
impl RefUnwindSafe for NormalizedTick
impl Send for NormalizedTick
impl Sync for NormalizedTick
impl Unpin for NormalizedTick
impl UnsafeUnpin for NormalizedTick
impl UnwindSafe for NormalizedTick
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