1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
//! //! Opening hours implementation for Rust //! //! Specification: https://wiki.openstreetmap.org/wiki/Key:opening_hours/specification //! mod parsers; #[derive(Clone, Debug, PartialEq)] pub struct Modifier { pub state: State, pub comment: String, } #[derive(Copy, Clone, Debug, PartialEq)] pub enum State { Open, Closed, Unknown, }