pub struct Itinerary {
pub elements: Vec<ItineraryElement>,
pub route_data: HashMap<String, Route>,
pub stop_data: HashMap<String, Stop>,
}Fields§
§elements: Vec<ItineraryElement>§route_data: HashMap<String, Route>§stop_data: HashMap<String, Stop>Implementations§
Source§impl Itinerary
impl Itinerary
pub fn departure_time(&self) -> NaiveDateTime
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Itinerary
impl RefUnwindSafe for Itinerary
impl Send for Itinerary
impl Sync for Itinerary
impl Unpin for Itinerary
impl UnsafeUnpin for Itinerary
impl UnwindSafe for Itinerary
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