pub struct GTFSRealtimeReplacementStop {
pub travel_time_to_stop: Option<i32>,
pub stop_id: Option<String>,
}Expand description
NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
Fields§
§travel_time_to_stop: Option<i32>The difference in seconds between the arrival time at this stop and the arrival time at the reference stop. The reference stop is the stop prior to start_stop_selector. If the modification begins at the first stop of the trip, then the first stop of the trip is the reference stop. This value MUST be monotonically increasing and may only be a negative number if the first stop of the original trip is the reference stop.
stop_id: Option<String>The replacement stop ID which will now be visited by the trip. May refer to a new stop added using a GTFS-RT Stop message, or to an existing stop defined in the GTFS-Static feed’s stops.txt. The stop MUST have location_type=0 (routable stops).
Trait Implementations§
Source§impl Clone for GTFSRealtimeReplacementStop
impl Clone for GTFSRealtimeReplacementStop
Source§fn clone(&self) -> GTFSRealtimeReplacementStop
fn clone(&self) -> GTFSRealtimeReplacementStop
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GTFSRealtimeReplacementStop
impl Debug for GTFSRealtimeReplacementStop
Source§impl Default for GTFSRealtimeReplacementStop
impl Default for GTFSRealtimeReplacementStop
Source§fn default() -> GTFSRealtimeReplacementStop
fn default() -> GTFSRealtimeReplacementStop
Source§impl ProtoRead for GTFSRealtimeReplacementStop
Read in the contents of the GTFSRealtimeReplacementStop
impl ProtoRead for GTFSRealtimeReplacementStop
Read in the contents of the GTFSRealtimeReplacementStop
impl StructuralPartialEq for GTFSRealtimeReplacementStop
Auto Trait Implementations§
impl Freeze for GTFSRealtimeReplacementStop
impl RefUnwindSafe for GTFSRealtimeReplacementStop
impl Send for GTFSRealtimeReplacementStop
impl Sync for GTFSRealtimeReplacementStop
impl Unpin for GTFSRealtimeReplacementStop
impl UnwindSafe for GTFSRealtimeReplacementStop
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().