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
sourceimpl Clone for VehicleDetail
impl Clone for VehicleDetail
sourcefn clone(&self) -> VehicleDetail
fn clone(&self) -> VehicleDetail
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Hash for VehicleDetail
impl Hash for VehicleDetail
sourceimpl PartialEq<VehicleDetail> for VehicleDetail
impl PartialEq<VehicleDetail> for VehicleDetail
sourcefn eq(&self, other: &VehicleDetail) -> bool
fn eq(&self, other: &VehicleDetail) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more