Enum crypto_crawler::MessageType [−][src]
pub enum MessageType {
Trade,
L2Event,
L2Snapshot,
L2TopK,
L3Event,
L3Snapshot,
BBO,
Ticker,
Candlestick,
FundingRate,
}
Expand description
Message types.
L2Snapshot and L2TopK are very similar, the former is from RESTful API, the latter is from websocket.
Variants
tick-by-tick trade messages
Incremental level2 orderbook updates
Level2 snapshot from RESTful API
Level2 top K snapshots from websocket
Incremental level3 orderbook updates
Level3 snapshot from RESTful API
Best bid and ask
24hr rolling window ticker
OHLCV candlestick
Funding rate
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
Auto Trait Implementations
impl RefUnwindSafe for MessageType
impl Send for MessageType
impl Sync for MessageType
impl Unpin for MessageType
impl UnwindSafe for MessageType
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more