Struct vrp_pragmatic::format::problem::JobPlace
source · pub struct JobPlace {
pub location: Location,
pub duration: f64,
pub times: Option<Vec<Vec<String>>>,
pub tag: Option<String>,
}
Expand description
Specifies a place for sub job.
Fields§
§location: Location
A job place location.
duration: f64
A job place duration (service time).
times: Option<Vec<Vec<String>>>
A list of job place time windows with time specified in RFC3339 format.
tag: Option<String>
A tag which will be propagated back within corresponding activity in solution. You can use it to identify used place in solution.
Trait Implementations§
source§impl<'de> Deserialize<'de> for JobPlace
impl<'de> Deserialize<'de> for JobPlace
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 JobPlace
impl Send for JobPlace
impl Sync for JobPlace
impl Unpin for JobPlace
impl UnwindSafe for JobPlace
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