pub enum DataAny {
OrderBookDelta(OrderBookDelta),
OrderBookDeltas(OrderBookDeltas),
OrderBookDepth10(OrderBookDepth10),
Quote(QuoteTick),
Trade(TradeTick),
Bar(Bar),
MarkPrice(MarkPriceUpdate),
IndexPrice(IndexPriceUpdate),
FundingRate(FundingRateUpdate),
InstrumentStatus(InstrumentStatus),
InstrumentClose(InstrumentClose),
}Variants§
OrderBookDelta(OrderBookDelta)
OrderBookDeltas(OrderBookDeltas)
OrderBookDepth10(OrderBookDepth10)
Quote(QuoteTick)
Trade(TradeTick)
Bar(Bar)
MarkPrice(MarkPriceUpdate)
IndexPrice(IndexPriceUpdate)
FundingRate(FundingRateUpdate)
InstrumentStatus(InstrumentStatus)
InstrumentClose(InstrumentClose)
Trait Implementations§
impl StructuralPartialEq for DataAny
Auto Trait Implementations§
impl Freeze for DataAny
impl RefUnwindSafe for DataAny
impl Send for DataAny
impl Sync for DataAny
impl Unpin for DataAny
impl UnsafeUnpin for DataAny
impl UnwindSafe for DataAny
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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