pub enum BetfairDataItem {
Instrument(Box<InstrumentAny>),
Status(InstrumentStatus),
Deltas(OrderBookDeltas),
Trade(TradeTick),
Ticker(BetfairTicker),
StartingPrice(BetfairStartingPrice),
BspBookDelta(BetfairBspBookDelta),
InstrumentClose(InstrumentClose),
SequenceCompleted(BetfairSequenceCompleted),
RaceRunnerData(BetfairRaceRunnerData),
RaceProgress(BetfairRaceProgress),
}Expand description
A parsed data item from a Betfair historical file.
Variants§
Instrument(Box<InstrumentAny>)
Instrument definition from a market definition.
Status(InstrumentStatus)
Market status change for an instrument.
Deltas(OrderBookDeltas)
Order book snapshot or delta update.
Trade(TradeTick)
Incremental trade tick derived from cumulative traded volumes.
Ticker(BetfairTicker)
Betfair-specific ticker data (last traded price, traded volume, BSP near/far).
StartingPrice(BetfairStartingPrice)
Betfair Starting Price for a runner.
BspBookDelta(BetfairBspBookDelta)
BSP book delta (separate from exchange book).
InstrumentClose(InstrumentClose)
Instrument close event at market settlement.
SequenceCompleted(BetfairSequenceCompleted)
Marker emitted after each MCM batch is fully processed.
RaceRunnerData(BetfairRaceRunnerData)
GPS tracking data for a race runner (from RCM).
RaceProgress(BetfairRaceProgress)
Race-level progress data (from RCM).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BetfairDataItem
impl RefUnwindSafe for BetfairDataItem
impl Send for BetfairDataItem
impl Sync for BetfairDataItem
impl Unpin for BetfairDataItem
impl UnsafeUnpin for BetfairDataItem
impl UnwindSafe for BetfairDataItem
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more