pub struct Routes {
pub type_field: String,
pub line_id: String,
pub line_name: String,
pub direction: String,
pub is_outbound_only: bool,
pub mode: String,
pub line_strings: Vec<String>,
pub stations: Vec<Station>,
pub stop_point_sequences: Vec<StopPointSequence>,
pub ordered_line_routes: Vec<OrderedLineRoute>,
}
Fields§
§type_field: String
§line_id: String
Line ID
line_name: String
Line name
direction: String
Line direction
is_outbound_only: bool
Outbound only line
mode: String
Mode
line_strings: Vec<String>
Line strings
stations: Vec<Station>
Stations on the line
stop_point_sequences: Vec<StopPointSequence>
Stop point sequences
ordered_line_routes: Vec<OrderedLineRoute>
Ordered line routes
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Routes
impl<'de> Deserialize<'de> for Routes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Routes
Auto Trait Implementations§
impl Freeze for Routes
impl RefUnwindSafe for Routes
impl Send for Routes
impl Sync for Routes
impl Unpin for Routes
impl UnwindSafe for Routes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more