pub struct LegResult {
pub leg_index: usize,
pub result: SearchResult,
}Expand description
A search result from a single route leg, tagged with its source leg index.
Fields§
§leg_index: usizeWhich leg produced this result.
result: SearchResultThe search result.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LegResult
impl RefUnwindSafe for LegResult
impl Send for LegResult
impl Sync for LegResult
impl Unpin for LegResult
impl UnsafeUnpin for LegResult
impl UnwindSafe for LegResult
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