pub struct RawTick {
pub exchange: Exchange,
pub symbol: String,
pub payload: Value,
pub received_at_ms: u64,
}Expand description
Raw tick — unprocessed bytes from an exchange WebSocket.
Fields§
§exchange: ExchangeSource exchange.
symbol: StringInstrument symbol as reported by the exchange.
payload: ValueRaw JSON payload from the WebSocket frame.
received_at_ms: u64System-clock timestamp (ms since Unix epoch) when the tick was received.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RawTick
impl RefUnwindSafe for RawTick
impl Send for RawTick
impl Sync for RawTick
impl Unpin for RawTick
impl UnsafeUnpin for RawTick
impl UnwindSafe for RawTick
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