pub struct Stop {
pub id: StopId,
pub coord: Coord,
pub demand: u32,
pub time_window: Option<TimeWindow>,
pub service_time: f64,
}Expand description
A delivery stop: where to go, how much to drop, and when.
Fields§
§id: StopId§coord: Coord§demand: u32Units of demand to drop at this stop.
time_window: Option<TimeWindow>Optional service window (not yet enforced).
service_time: f64Time spent servicing the stop, in the matrix time unit.
Trait Implementations§
impl StructuralPartialEq for Stop
Auto Trait Implementations§
impl Freeze for Stop
impl RefUnwindSafe for Stop
impl Send for Stop
impl Sync for Stop
impl Unpin for Stop
impl UnsafeUnpin for Stop
impl UnwindSafe for Stop
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