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<VehicleDetail> for VehicleDetail
impl PartialEq<VehicleDetail> 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 ==.