Struct vrp_core::construction::enablers::ReservedTimeWindow
source · pub struct ReservedTimeWindow {
pub time: TimeWindow,
pub duration: Duration,
}
Expand description
Represent a reserved time window entity.
Fields§
§time: TimeWindow
A specific time window when an extra reserved duration should be applied.
duration: Duration
An extra duration to be applied at given time.
Trait Implementations§
source§impl Clone for ReservedTimeWindow
impl Clone for ReservedTimeWindow
source§fn clone(&self) -> ReservedTimeWindow
fn clone(&self) -> ReservedTimeWindow
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 moreAuto Trait Implementations§
impl RefUnwindSafe for ReservedTimeWindow
impl Send for ReservedTimeWindow
impl Sync for ReservedTimeWindow
impl Unpin for ReservedTimeWindow
impl UnwindSafe for ReservedTimeWindow
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