Module Values.RouteSummarySource

Summarized details for the leg including travel steps only. The Distance for the travel only portion of the journey is the same as the Distance within the Overview summary.

Sourcetype nonrec t = {
  1. distance : DistanceMeters.t option;
    (*

    Distance of the route.

    *)
  2. duration : DurationSeconds.t option;
    (*

    Duration of the route. Unit: seconds

    *)
  3. tolls : RouteTollSummary.t option;
    (*

    Toll summary for the complete route.

    *)
}
Sourceval make : ?distance:??? -> ?duration:??? -> ?tolls:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of DistanceMeters.t | `Structure of (string * [> `Structure of (string * [> `Boolean of SensitiveBoolean.t | `Double of RouteTollPriceSummaryValueDouble.t | `String of CurrencyCode.t | `Structure of (string * [> `Double of RouteTollPriceValueRangeMinDouble.t ]) list ]) list ]) list ]) 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