pub struct GTFSRealtimeStopTimeProperties {
pub assigned_stop_id: Option<String>,
}Expand description
Provides the updated values for the stop time. NOTE: This message is still experimental, and subject to change. It may be formally adopted in the future.
Fields§
§assigned_stop_id: Option<String>Supports real-time stop assignments. Refers to a stop_id defined in the GTFS stops.txt.
The new assigned_stop_id should not result in a significantly different trip experience for the end user than
the stop_id defined in GTFS stop_times.txt. In other words, the end user should not view this new stop_id as an
“unusual change” if the new stop was presented within an app without any additional context.
For example, this field is intended to be used for platform assignments by using a stop_id that belongs to the
same station as the stop originally defined in GTFS stop_times.txt.
To assign a stop without providing any real-time arrival or departure predictions, populate this field and set
StopTimeUpdate.schedule_relationship = NO_DATA.
If this field is populated, it is preferred to omit StopTimeUpdate.stop_id and use only StopTimeUpdate.stop_sequence. If
StopTimeProperties.assigned_stop_id and StopTimeUpdate.stop_id are populated, StopTimeUpdate.stop_id must match assigned_stop_id.
Platform assignments should be reflected in other GTFS-realtime fields as well
(e.g., VehiclePosition.stop_id).
NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
Trait Implementations§
Source§impl Clone for GTFSRealtimeStopTimeProperties
impl Clone for GTFSRealtimeStopTimeProperties
Source§fn clone(&self) -> GTFSRealtimeStopTimeProperties
fn clone(&self) -> GTFSRealtimeStopTimeProperties
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GTFSRealtimeStopTimeProperties
impl Default for GTFSRealtimeStopTimeProperties
Source§fn default() -> GTFSRealtimeStopTimeProperties
fn default() -> GTFSRealtimeStopTimeProperties
Source§impl ProtoRead for GTFSRealtimeStopTimeProperties
Read in the contents of the GTFSRealtimeStopTimeProperties
impl ProtoRead for GTFSRealtimeStopTimeProperties
Read in the contents of the GTFSRealtimeStopTimeProperties
impl StructuralPartialEq for GTFSRealtimeStopTimeProperties
Auto Trait Implementations§
impl Freeze for GTFSRealtimeStopTimeProperties
impl RefUnwindSafe for GTFSRealtimeStopTimeProperties
impl Send for GTFSRealtimeStopTimeProperties
impl Sync for GTFSRealtimeStopTimeProperties
impl Unpin for GTFSRealtimeStopTimeProperties
impl UnwindSafe for GTFSRealtimeStopTimeProperties
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
§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)
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>
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>
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>
ReadEndian::read_from_little_endian().