pub struct Vehicle {
pub profile: Profile,
pub costs: Costs,
pub dimens: Dimensions,
pub details: Vec<VehicleDetail>,
}Expand description
Represents a vehicle.
Fields
profile: ProfileA vehicle profile.
costs: CostsSpecifies operating costs for vehicle.
dimens: DimensionsDimensions which contains extra work requirements.
details: Vec<VehicleDetail>Specifies vehicle details.
Auto Trait Implementations
impl !RefUnwindSafe for Vehicle
impl Send for Vehicle
impl Sync for Vehicle
impl Unpin for Vehicle
impl !UnwindSafe for Vehicle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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