Struct vrp_core::models::Lock [−][src]
pub struct Lock {
pub condition: Arc<dyn Fn(&Actor) -> bool + Sync + Send>,
pub details: Vec<LockDetail>,
pub is_lazy: bool,
}Expand description
Contains information about jobs locked to specific actors.
Fields
condition: Arc<dyn Fn(&Actor) -> bool + Sync + Send>Specifies condition when locked jobs can be assigned to specific actor
details: Vec<LockDetail>Specifies lock details.
is_lazy: boolSpecifies whether route is created or not in solution from beginning. True means that route is not created till evaluation.
Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Lockimpl !UnwindSafe for Lock