pub struct GTFSRealtimeStop {Show 14 fields
pub stop_id: Option<String>,
pub stop_code: Option<GTFSRealtimeTranslatedString>,
pub stop_name: Option<GTFSRealtimeTranslatedString>,
pub tts_stop_name: Option<GTFSRealtimeTranslatedString>,
pub stop_desc: Option<GTFSRealtimeTranslatedString>,
pub stop_lat: Option<f32>,
pub stop_lon: Option<f32>,
pub zone_id: Option<String>,
pub stop_url: Option<GTFSRealtimeTranslatedString>,
pub parent_station: Option<String>,
pub stop_timezone: Option<String>,
pub wheelchair_boarding: Option<GTFSRealtimeWheelchairBoarding>,
pub level_id: Option<String>,
pub platform_code: Option<GTFSRealtimeTranslatedString>,
}Expand description
Describes a stop which is served by trips. All fields are as described in the GTFS-Static specification. NOTE: This message is still experimental, and subject to change. It may be formally adopted in the future.
Fields§
§stop_id: Option<String>The stop_id of the stop
stop_code: Option<GTFSRealtimeTranslatedString>The stop_code of the stop
stop_name: Option<GTFSRealtimeTranslatedString>The stop_name of the stop
tts_stop_name: Option<GTFSRealtimeTranslatedString>The tts_stop_name of the stop
stop_desc: Option<GTFSRealtimeTranslatedString>The stop_desc of the stop
stop_lat: Option<f32>The lat of the stop
stop_lon: Option<f32>The lon of the stop
zone_id: Option<String>The zone_id of the stop
stop_url: Option<GTFSRealtimeTranslatedString>The stop_url of the stop
parent_station: Option<String>The parent_station of the stop
stop_timezone: Option<String>The stop_timezone of the stop
wheelchair_boarding: Option<GTFSRealtimeWheelchairBoarding>The wheelchair_boarding of the stop
level_id: Option<String>The level_id of the stop
platform_code: Option<GTFSRealtimeTranslatedString>The platform_code of the stop
Trait Implementations§
Source§impl Clone for GTFSRealtimeStop
impl Clone for GTFSRealtimeStop
Source§fn clone(&self) -> GTFSRealtimeStop
fn clone(&self) -> GTFSRealtimeStop
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GTFSRealtimeStop
impl Debug for GTFSRealtimeStop
Source§impl Default for GTFSRealtimeStop
impl Default for GTFSRealtimeStop
Source§fn default() -> GTFSRealtimeStop
fn default() -> GTFSRealtimeStop
Returns the “default value” for a type. Read more
Source§impl PartialEq for GTFSRealtimeStop
impl PartialEq for GTFSRealtimeStop
Source§impl ProtoRead for GTFSRealtimeStop
Read in the contents of the blob header
impl ProtoRead for GTFSRealtimeStop
Read in the contents of the blob header
impl StructuralPartialEq for GTFSRealtimeStop
Auto Trait Implementations§
impl Freeze for GTFSRealtimeStop
impl RefUnwindSafe for GTFSRealtimeStop
impl Send for GTFSRealtimeStop
impl Sync for GTFSRealtimeStop
impl Unpin for GTFSRealtimeStop
impl UnwindSafe for GTFSRealtimeStop
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().