pub enum SubscriptionType {
Trade,
OrderBook,
Ticker,
Kline,
UserData,
PriceIndex,
LiquidationEvent,
}Expand description
Subscription type for WebSocket feeds
Variants§
Trade
Real-time trade data
OrderBook
Order book / market depth data
Ticker
Ticker / price data
Kline
Kline / candlestick data
UserData
User data (private feeds)
PriceIndex
Price index data (for futures/derivatives)
LiquidationEvent
Liquidation event data (for futures/derivatives)
Trait Implementations§
Source§impl Clone for SubscriptionType
impl Clone for SubscriptionType
Source§fn clone(&self) -> SubscriptionType
fn clone(&self) -> SubscriptionType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SubscriptionType
impl Debug for SubscriptionType
Source§impl PartialEq for SubscriptionType
impl PartialEq for SubscriptionType
impl Copy for SubscriptionType
impl Eq for SubscriptionType
impl StructuralPartialEq for SubscriptionType
Auto Trait Implementations§
impl Freeze for SubscriptionType
impl RefUnwindSafe for SubscriptionType
impl Send for SubscriptionType
impl Sync for SubscriptionType
impl Unpin for SubscriptionType
impl UnwindSafe for SubscriptionType
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more