1 2 3 4 5 6 7 8 9 10 11 12 13 14
use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug)] pub enum Exchange { US, } impl ToString for Exchange { fn to_string(&self) -> String { match self { Exchange::US => "US".into(), } } }