Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data TruckWeight Source #
Contains details about the truck's weight specifications. Used to avoid
roads that can't support or allow the total weight for requests that
specify TravelMode
as Truck
.
See: newTruckWeight
smart constructor.
Instances
newTruckWeight :: TruckWeight Source #
Create a value of TruckWeight
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:total:TruckWeight'
, truckWeight_total
- The total weight of the truck.
- For example,
3500
.
$sel:unit:TruckWeight'
, truckWeight_unit
- The unit of measurement to use for the truck weight.
Default Value: Kilograms
truckWeight_total :: Lens' TruckWeight (Maybe Double) Source #
The total weight of the truck.
- For example,
3500
.
truckWeight_unit :: Lens' TruckWeight (Maybe VehicleWeightUnit) Source #
The unit of measurement to use for the truck weight.
Default Value: Kilograms