pub enum Stream {
Show 28 variants
Ticker,
Trade,
Orderbook,
OrderbookDelta,
Kline(KlineInterval),
MarkPrice,
FundingRate,
OpenInterest,
Liquidation,
AggTrade,
BlockTrade,
IndexPrice,
CompositeIndex,
OptionGreeks,
VolatilityIndex,
HistoricalVolatility,
Basis,
InsuranceFund,
OrderbookL3,
SettlementEvent,
AuctionEvent,
MarketWarning,
RiskLimit,
PredictedFunding,
FundingSettlement,
MarkPriceKline(KlineInterval),
IndexPriceKline(KlineInterval),
PremiumIndexKline(KlineInterval),
}Expand description
User-facing stream class to request in a SubscriptionSet.
Kline carries a typed KlineInterval (e.g. KlineInterval::new("1m")).
All other variants are parameterless.
Variants§
Ticker
Trade
Orderbook
OrderbookDelta
Kline(KlineInterval)
MarkPrice
FundingRate
OpenInterest
Liquidation
AggTrade
BlockTrade
IndexPrice
CompositeIndex
OptionGreeks
VolatilityIndex
HistoricalVolatility
Basis
InsuranceFund
OrderbookL3
SettlementEvent
AuctionEvent
MarketWarning
RiskLimit
PredictedFunding
FundingSettlement
MarkPriceKline(KlineInterval)
IndexPriceKline(KlineInterval)
PremiumIndexKline(KlineInterval)
Trait Implementations§
impl Eq for Stream
impl StructuralPartialEq for Stream
Auto Trait Implementations§
impl Freeze for Stream
impl RefUnwindSafe for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin for Stream
impl UnsafeUnpin for Stream
impl UnwindSafe for Stream
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