pub struct TripPlan {
pub id: u64,
pub legs: Vec<Leg>,
}Expand description
A planned multi-modal trip.
Fields§
§id: u64Stable trip identifier.
legs: Vec<Leg>Ordered legs.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TripPlan
impl RefUnwindSafe for TripPlan
impl Send for TripPlan
impl Sync for TripPlan
impl Unpin for TripPlan
impl UnsafeUnpin for TripPlan
impl UnwindSafe for TripPlan
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