pub enum SubscriptionChannel {
Ticker(String),
OrderBook(String),
Trades(String),
UserOrders,
UserTrades,
Unknown(String),
}👎Deprecated since 0.2.0: Use model::SubscriptionChannel instead which supports all channel types
Expand description
Subscription channels (legacy enum - use model::SubscriptionChannel for full support)
Variants§
Ticker(String)
👎Deprecated since 0.2.0: Use model::SubscriptionChannel instead which supports all channel types
Ticker data for a specific instrument
OrderBook(String)
👎Deprecated since 0.2.0: Use model::SubscriptionChannel instead which supports all channel types
Order book data for a specific instrument
Trades(String)
👎Deprecated since 0.2.0: Use model::SubscriptionChannel instead which supports all channel types
Trade data for a specific instrument
UserOrders
👎Deprecated since 0.2.0: Use model::SubscriptionChannel instead which supports all channel types
User’s order updates
UserTrades
👎Deprecated since 0.2.0: Use model::SubscriptionChannel instead which supports all channel types
User’s trade updates
Unknown(String)
👎Deprecated since 0.2.0: Use model::SubscriptionChannel instead which supports all channel types
Unknown or unrecognized channel
Trait Implementations§
Source§impl Clone for SubscriptionChannel
impl Clone for SubscriptionChannel
Source§fn clone(&self) -> SubscriptionChannel
fn clone(&self) -> SubscriptionChannel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SubscriptionChannel
impl Debug for SubscriptionChannel
Auto Trait Implementations§
impl Freeze for SubscriptionChannel
impl RefUnwindSafe for SubscriptionChannel
impl Send for SubscriptionChannel
impl Sync for SubscriptionChannel
impl Unpin for SubscriptionChannel
impl UnsafeUnpin for SubscriptionChannel
impl UnwindSafe for SubscriptionChannel
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