diff --git a/src/bus_enums.rs b/src/bus_enums.rs index 4d735e5..8f45a23 100644 --- a/src/bus_enums.rs +++ b/src/bus_enums.rs @@ -2,9 +2,7 @@ //! Used for transforming stringly typed data from API to enums pub mod prelude { - pub use { - crate::bus_enums::{Operator, BusCategory, BusFeature, BusLoad, BusType} - }; + pub use crate::bus_enums::{BusCategory, BusFeature, BusLoad, BusType, Operator}; } use serde::{Deserialize, Serialize}; @@ -20,13 +18,13 @@ use serde::{Deserialize, Serialize}; pub enum Operator { #[serde(rename = "SBST")] Sbst, - + #[serde(rename = "SMRT")] Smrt, - + #[serde(rename = "TTS")] Tts, - + #[serde(rename = "GAS")] Gas,