| 1 | use craterust-analyzer cargo railway-core 0.3.0 crate/::{Journeyrust-analyzer cargo railway-core 0.3.0 types/Journey#, TariffClassrust-analyzer cargo railway-core 0.3.0 types/TariffClass#}; |
| 2 | |
| 3 | #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, Defaultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core default/Default:)] |
| 4 | /// The options for [`Provider::refresh_journey`](crate::Provider::refresh_journey) |
| 5 | /// |
| 6 | /// A provider can also ignore some of the options if this is not supported by the API. |
| 7 | pub struct RefreshJourneyOptionsrust-analyzer cargo railway-core 0.3.0 api/refresh_journey/RefreshJourneyOptions# { |
| 8 | /// Whether to include stopovers. |
| 9 | pub stopoversrust-analyzer cargo railway-core 0.3.0 api/refresh_journey/RefreshJourneyOptions#stopovers.: bool, |
| 10 | #[cfg(feature = "polylines")] |
| 11 | /// Whether to include polylines. |
| 12 | pub polylinesrust-analyzer cargo railway-core 0.3.0 api/refresh_journey/RefreshJourneyOptions#polylines.: bool, |
| 13 | /// Include tickets. |
| 14 | pub ticketsrust-analyzer cargo railway-core 0.3.0 api/refresh_journey/RefreshJourneyOptions#tickets.: bool, |
| 15 | /// What class to use. |
| 16 | pub tariff_classrust-analyzer cargo railway-core 0.3.0 api/refresh_journey/RefreshJourneyOptions#tariff_class.: TariffClassrust-analyzer cargo railway-core 0.3.0 types/TariffClass#, |
| 17 | /// What language to query with. |
| 18 | pub languagerust-analyzer cargo railway-core 0.3.0 api/refresh_journey/RefreshJourneyOptions#language.: Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<Stringrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc string/String#>, |
| 19 | } |
| 20 | |
| 21 | /// The result for [`Provider::refresh_journey`](crate::Provider::refresh_journey) |
| 22 | pub type RefreshJourneyResponserust-analyzer cargo railway-core 0.3.0 api/refresh_journey/RefreshJourneyResponse# = Journeyrust-analyzer cargo railway-core 0.3.0 types/Journey#; |