pub struct GTFSRealtimeTripModifications {
pub selected_trips: Vec<GTFSRealtimeSelectedTrips>,
pub start_times: Vec<String>,
pub service_dates: Vec<String>,
pub modifications: Vec<GTFSRealtimeModification>,
}Expand description
NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
Fields§
§selected_trips: Vec<GTFSRealtimeSelectedTrips>A list of selected trips affected by this TripModifications.
start_times: Vec<String>A list of start times in the real-time trip descriptor for the trip_id defined in trip_ids. Useful to target multiple departures of a trip_id in a frequency-based trip.
service_dates: Vec<String>Dates on which the modifications occurs, in the YYYYMMDD format. Producers SHOULD only
transmit detours occurring within the next week.
The dates provided should not be used as user-facing information, if a user-facing start and
end date needs to be provided, they can be provided in the linked service alert with service_alert_id
modifications: Vec<GTFSRealtimeModification>A list of modifications to apply to the affected trips.
Trait Implementations§
Source§impl Clone for GTFSRealtimeTripModifications
impl Clone for GTFSRealtimeTripModifications
Source§fn clone(&self) -> GTFSRealtimeTripModifications
fn clone(&self) -> GTFSRealtimeTripModifications
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GTFSRealtimeTripModifications
impl Default for GTFSRealtimeTripModifications
Source§fn default() -> GTFSRealtimeTripModifications
fn default() -> GTFSRealtimeTripModifications
Source§impl ProtoRead for GTFSRealtimeTripModifications
Read in the contents of the GTFSRealtimeTripModifications
impl ProtoRead for GTFSRealtimeTripModifications
Read in the contents of the GTFSRealtimeTripModifications
impl StructuralPartialEq for GTFSRealtimeTripModifications
Auto Trait Implementations§
impl Freeze for GTFSRealtimeTripModifications
impl RefUnwindSafe for GTFSRealtimeTripModifications
impl Send for GTFSRealtimeTripModifications
impl Sync for GTFSRealtimeTripModifications
impl Unpin for GTFSRealtimeTripModifications
impl UnwindSafe for GTFSRealtimeTripModifications
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().