pub struct Stop {Show 17 fields
pub id: String,
pub code: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub location_type: LocationType,
pub parent_station: Option<String>,
pub zone_id: Option<String>,
pub url: Option<String>,
pub longitude: Option<f64>,
pub latitude: Option<f64>,
pub timezone: Option<String>,
pub wheelchair_boarding: Availability,
pub level_id: Option<String>,
pub platform_code: Option<String>,
pub transfers: Vec<StopTransfer>,
pub pathways: Vec<Pathway>,
pub tts_name: Option<String>,
}
Expand description
A physical stop, station or area. See https://gtfs.org/reference/static/#stopstxt
Fields§
§id: String
Unique technical identifier (not for the traveller) of the stop
code: Option<String>
Short text or a number that identifies the location for riders
name: Option<String>
Name of the location. Use a name that people will understand in the local and tourist vernacular
description: Option<String>
Description of the location that provides useful, quality information
location_type: LocationType
Type of the location
parent_station: Option<String>
Defines hierarchy between the different locations
zone_id: Option<String>
Identifies the fare zone for a stop
url: Option<String>
URL of a web page about the location
longitude: Option<f64>
Longitude of the stop
latitude: Option<f64>
Latitude of the stop
timezone: Option<String>
Timezone of the location
wheelchair_boarding: Availability
Indicates whether wheelchair boardings are possible from the location
level_id: Option<String>
Level of the location. The same level can be used by multiple unlinked stations
platform_code: Option<String>
Platform identifier for a platform stop (a stop belonging to a station)
transfers: Vec<StopTransfer>
Transfers from this Stop
pathways: Vec<Pathway>
Pathways from this stop
tts_name: Option<String>
Text to speech readable version of the stop_name
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Stop
impl<'de> Deserialize<'de> for Stop
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>,
Source§impl Type for Stop
impl Type for Stop
Source§fn object_type(&self) -> ObjectType
fn object_type(&self) -> ObjectType
Auto Trait Implementations§
impl Freeze for Stop
impl RefUnwindSafe for Stop
impl Send for Stop
impl Sync for Stop
impl Unpin for Stop
impl UnwindSafe for Stop
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.