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