Struct vrp_core::models::problem::ConstraintViolation
source · pub struct ConstraintViolation {
pub code: ViolationCode,
pub stopped: bool,
}Expand description
Specifies result of hard route constraint check.
Fields§
§code: ViolationCodeViolation code which is used as marker of specific constraint violated.
stopped: boolTrue if further insertions should not be attempted.
Implementations§
Trait Implementations§
source§impl Clone for ConstraintViolation
impl Clone for ConstraintViolation
source§fn clone(&self) -> ConstraintViolation
fn clone(&self) -> ConstraintViolation
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 more