Struct vrp_core::models::problem::VehicleDetail
source · pub struct VehicleDetail {
pub start: Option<VehiclePlace>,
pub end: Option<VehiclePlace>,
}
Expand description
Represents a vehicle detail (vehicle shift).
Fields§
§start: Option<VehiclePlace>
A place where vehicle starts.
end: Option<VehiclePlace>
A place where vehicle ends.
Trait Implementations§
source§impl Clone for VehicleDetail
impl Clone for VehicleDetail
source§fn clone(&self) -> VehicleDetail
fn clone(&self) -> VehicleDetail
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 moresource§impl Hash for VehicleDetail
impl Hash for VehicleDetail
source§impl PartialEq for VehicleDetail
impl PartialEq for VehicleDetail
source§fn eq(&self, other: &VehicleDetail) -> bool
fn eq(&self, other: &VehicleDetail) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for VehicleDetail
impl StructuralEq for VehicleDetail
impl StructuralPartialEq for VehicleDetail
Auto Trait Implementations§
impl RefUnwindSafe for VehicleDetail
impl Send for VehicleDetail
impl Sync for VehicleDetail
impl Unpin for VehicleDetail
impl UnwindSafe for VehicleDetail
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