Struct vrp_pragmatic::format::problem::JobSkills
source · pub struct JobSkills {
pub all_of: Option<Vec<String>>,
pub one_of: Option<Vec<String>>,
pub none_of: Option<Vec<String>>,
}
Expand description
A job skills limitation for a vehicle.
Fields§
§all_of: Option<Vec<String>>
Vehicle should have all of these skills defined.
one_of: Option<Vec<String>>
Vehicle should have at least one of these skills defined.
none_of: Option<Vec<String>>
Vehicle should have none of these skills defined.
Trait Implementations§
source§impl<'de> Deserialize<'de> for JobSkills
impl<'de> Deserialize<'de> for JobSkills
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 JobSkills
impl Send for JobSkills
impl Sync for JobSkills
impl Unpin for JobSkills
impl UnwindSafe for JobSkills
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