pub struct Place {
pub idx: usize,
pub location: Location,
pub duration: Duration,
pub time: TimeWindow,
}
Expand description
Specifies activity place.
Fields§
§idx: usize
An index of the place in original job definition.
location: Location
Location where activity is performed.
duration: Duration
Specifies activity’s duration.
time: TimeWindow
Specifies activity’s time window: an interval when job is allowed to be started.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Place
impl Send for Place
impl Sync for Place
impl Unpin for Place
impl UnwindSafe for Place
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