pub struct StopTime {
pub place: Box<Place>,
pub mode: Mode,
pub real_time: bool,
pub headsign: String,
pub agency_id: String,
pub agency_name: String,
pub agency_url: String,
pub route_color: Option<String>,
pub route_text_color: Option<String>,
pub trip_id: String,
pub route_short_name: String,
pub source: String,
}
Expand description
StopTime : departure or arrival event at a stop
Fields§
§place: Box<Place>
information about the stop place and time
mode: Mode
Transport mode for this leg
real_time: bool
Whether there is real-time data about this leg
headsign: String
For transit legs, the headsign of the bus or train being used. For non-transit legs, null
agency_id: String
§agency_name: String
§agency_url: String
§route_color: Option<String>
§route_text_color: Option<String>
§trip_id: String
§route_short_name: String
§source: String
Filename and line number where this trip is from
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StopTime
impl<'de> Deserialize<'de> for StopTime
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>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for StopTime
Auto Trait Implementations§
impl Freeze for StopTime
impl RefUnwindSafe for StopTime
impl Send for StopTime
impl Sync for StopTime
impl Unpin for StopTime
impl UnwindSafe for StopTime
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
Mutably borrows from an owned value. Read more