pub struct Driver {
pub costs: Costs,
pub dimens: Dimensions,
pub details: Vec<DriverDetail>,
}
Expand description
Represents a driver, person who drives Vehicle. Reserved for future usage, e.g. to allow reuse same vehicle more than once at different times.
Fields§
§costs: Costs
Specifies operating costs for driver.
dimens: Dimensions
Dimensions which contains extra work requirements.
details: Vec<DriverDetail>
Specifies driver details.
Auto Trait Implementations§
impl !RefUnwindSafe for Driver
impl Send for Driver
impl Sync for Driver
impl Unpin for Driver
impl !UnwindSafe for Driver
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