[][src]Struct vrp_pragmatic::format::problem::VehicleShift

pub struct VehicleShift {
    pub start: ShiftStart,
    pub end: Option<ShiftEnd>,
    pub dispatch: Option<Vec<VehicleDispatch>>,
    pub breaks: Option<Vec<VehicleBreak>>,
    pub reloads: Option<Vec<VehicleReload>>,
}

Specifies vehicle shift.

Fields

start: ShiftStart

Vehicle shift start.

end: Option<ShiftEnd>

Vehicle shift end.

dispatch: Option<Vec<VehicleDispatch>>

Vehicle cargo dispatch parameters. If defined, vehicle starts empty at location, defined in ShiftStart, and navigates first to the one of specified places, e.g. to pickup the goods.

breaks: Option<Vec<VehicleBreak>>

Vehicle breaks.

reloads: Option<Vec<VehicleReload>>

Vehicle reloads which allows vehicle to visit place where goods can be loaded or unloaded during single tour.

Trait Implementations

impl Clone for VehicleShift[src]

impl Debug for VehicleShift[src]

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

impl Serialize for VehicleShift[src]

Auto Trait Implementations

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> Pointable for T

type Init = T

The type for initializers.

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>,