pub enum CoinbaseMessageType {
Subscription,
Ticker,
Level2Snapshot,
Level2Update,
TradeMatch,
Heartbeat,
Error,
Unknown,
}Expand description
Coinbase WebSocket message types
Variants§
Subscription
Subscription confirmation message
Ticker
Ticker update message
Level2Snapshot
Level2 order book snapshot
Level2Update
Level2 order book update
TradeMatch
Trade match message
Heartbeat
Heartbeat keepalive message
Error
Error message
Unknown
Unknown message type
Trait Implementations§
Source§impl Debug for CoinbaseMessageType
impl Debug for CoinbaseMessageType
Source§impl From<&str> for CoinbaseMessageType
impl From<&str> for CoinbaseMessageType
Source§impl PartialEq for CoinbaseMessageType
impl PartialEq for CoinbaseMessageType
impl Eq for CoinbaseMessageType
impl StructuralPartialEq for CoinbaseMessageType
Auto Trait Implementations§
impl Freeze for CoinbaseMessageType
impl RefUnwindSafe for CoinbaseMessageType
impl Send for CoinbaseMessageType
impl Sync for CoinbaseMessageType
impl Unpin for CoinbaseMessageType
impl UnwindSafe for CoinbaseMessageType
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
§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