binance_client/http_exchange_api_v2/data/
status.rs

1//!
2//! The products symbol status.
3//!
4
5use serde::Deserialize;
6
7///
8/// The status of a trading symbol.
9///
10#[derive(Debug, Deserialize, Clone, Copy, PartialEq, Eq, Hash)]
11#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
12pub enum Status {
13    /// Not available for trading.
14    PreTrading,
15    /// The only variant that should be treated as valid for trading.
16    Trading,
17    /// Not available for trading.
18    PostTrading,
19    /// Not available for trading.
20    EndOfDay,
21    /// Not available for trading.
22    Halt,
23    /// Not available for trading.
24    AuctionMatch,
25    /// Not available for trading.
26    Break,
27    /// Fallback for all other variants.
28    #[serde(other)]
29    Other,
30}