Struct vrp_pragmatic::format::problem::ShiftStart
source · pub struct ShiftStart {
pub earliest: String,
pub latest: Option<String>,
pub location: Location,
}
Expand description
Specifies vehicle shift start.
Fields§
§earliest: String
Earliest possible departure date time in RFC3339 format.
latest: Option<String>
Latest possible departure date time in RFC3339 format. If omitted, departure time theoretically can be shifted till arrival. Set this value, if you want to limit departure time optimization.
location: Location
Shift start location.
Trait Implementations§
source§impl Clone for ShiftStart
impl Clone for ShiftStart
source§fn clone(&self) -> ShiftStart
fn clone(&self) -> ShiftStart
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ShiftStart
impl Debug for ShiftStart
source§impl<'de> Deserialize<'de> for ShiftStart
impl<'de> Deserialize<'de> for ShiftStart
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ShiftStart
impl Send for ShiftStart
impl Sync for ShiftStart
impl Unpin for ShiftStart
impl UnwindSafe for ShiftStart
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