Module Values.RouteMatrixEntrySource

The result for the calculated route of one DeparturePosition DestinationPosition pair.

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

    The total distance of travel for the route.

    *)
  2. durationSeconds : RouteMatrixEntryDurationSecondsDouble.t option;
    (*

    The expected duration of travel for the route.

    *)
  3. error : RouteMatrixEntryError.t option;
    (*

    An error corresponding to the calculation of a route between the DeparturePosition and DestinationPosition.

    *)
}
Sourceval make : ?distance:??? -> ?durationSeconds:??? -> ?error:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of RouteMatrixEntryDistanceDouble.t | `Structure of (string * [> `Enum of string | `String of String_.t ]) 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