[][src]Struct vrp_pragmatic::format::solution::Tour

pub struct Tour {
    pub vehicle_id: String,
    pub type_id: String,
    pub shift_index: usize,
    pub stops: Vec<Stop>,
    pub statistic: Statistic,
}

A tour is list of stops with their activities performed by specific vehicle.

Fields

vehicle_id: String

Vehicle id.

type_id: String

Vehicle type id.

shift_index: usize

Shift index.

stops: Vec<Stop>

List of stops.

statistic: Statistic

Tour statistic.

Trait Implementations

impl Clone for Tour[src]

impl Debug for Tour[src]

impl<'de> Deserialize<'de> for Tour[src]

impl PartialEq<Tour> for Tour[src]

impl Serialize for Tour[src]

impl StructuralPartialEq for Tour[src]

Auto Trait Implementations

impl RefUnwindSafe for Tour

impl Send for Tour

impl Sync for Tour

impl Unpin for Tour

impl UnwindSafe for Tour

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,