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: StringLine ID
line_name: StringLine name
direction: StringLine direction
is_outbound_only: boolOutbound only line
mode: StringMode
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