Module Values.TruckWeightSource

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.

Sourcetype nonrec t = {
  1. total : TruckWeightTotalDouble.t option;
    (*

    The total weight of the truck. For example, 3500.

    *)
  2. unit : VehicleWeightUnit.t option;
    (*

    The unit of measurement to use for the truck weight. Default Value: Kilograms

    *)
}
Sourceval make : ?total:??? -> ?unit:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of TruckWeightTotalDouble.t | `Enum of string ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t