pub struct Solution {
pub registry: Registry,
pub routes: Vec<Route>,
pub unassigned: Vec<(Job, i32)>,
pub extras: Arc<Extras>,
}Expand description
Represents a VRP solution.
Fields
registry: RegistryActor’s registry.
routes: Vec<Route>List of assigned routes.
unassigned: Vec<(Job, i32)>List of unassigned jobs within reason code.
extras: Arc<Extras>Specifies index for storing extra data of arbitrary type.
Auto Trait Implementations
impl !RefUnwindSafe for Solution
impl Send for Solution
impl Sync for Solution
impl Unpin for Solution
impl !UnwindSafe for Solution
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more