pub enum SubscriptionChannel {
Ticker(String),
OrderBook(String),
Trades(String),
UserOrders,
UserTrades,
}Expand description
Subscription channels
Variants§
Ticker(String)
Ticker data for a specific instrument
OrderBook(String)
Order book data for a specific instrument
Trades(String)
Trade data for a specific instrument
UserOrders
User’s order updates
UserTrades
User’s trade updates
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 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