pub struct Vehicle {
pub profile: Profile,
pub costs: Costs,
pub dimens: Dimensions,
pub details: Vec<VehicleDetail>,
}
Expand description
Represents a vehicle.
Fields§
§profile: Profile
A vehicle profile.
costs: Costs
Specifies operating costs for vehicle.
dimens: Dimensions
Dimensions 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§
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