Module Values.RouteVehicleTravelStepSource

Steps of a leg that correspond to the travel portion of the leg.

Sourcetype nonrec t = {
  1. continueHighwayStepDetails : RouteContinueHighwayStepDetails.t option;
    (*

    Details that are specific to a Continue Highway step.

    *)
  2. continueStepDetails : RouteContinueStepDetails.t option;
    (*

    Details that are specific to a Continue step.

    *)
  3. currentRoad : RouteRoad.t option;
    (*

    Details of the current road.

    *)
  4. distance : DistanceMeters.t option;
    (*

    Distance of the step.

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

    Duration of the step. Unit: seconds

    *)
  6. enterHighwayStepDetails : RouteEnterHighwayStepDetails.t option;
    (*

    Details that are specific to a Enter Highway step.

    *)
  7. exitNumber : LocalizedStringList.t option;
    (*

    Exit number of the road exit, if applicable.

    *)
  8. exitStepDetails : RouteExitStepDetails.t option;
    (*

    Details that are specific to a Roundabout Exit step.

    *)
  9. geometryOffset : RouteVehicleTravelStepGeometryOffsetInteger.t option;
    (*

    Offset in the leg geometry corresponding to the start of this step.

    *)
  10. instruction : SensitiveString.t option;
    (*

    Brief description of the step in the requested language. Only available when the TravelStepType is Default.

    *)
  11. keepStepDetails : RouteKeepStepDetails.t option;
    (*

    Details that are specific to a Keep step.

    *)
  12. nextRoad : RouteRoad.t option;
    (*

    Details of the next road. See RouteRoad for details of sub-attributes.

    *)
  13. rampStepDetails : RouteRampStepDetails.t option;
    (*

    Details that are specific to a Ramp step.

    *)
  14. roundaboutEnterStepDetails : RouteRoundaboutEnterStepDetails.t option;
    (*

    Details that are specific to a Roundabout Enter step.

    *)
  15. roundaboutExitStepDetails : RouteRoundaboutExitStepDetails.t option;
    (*

    Details that are specific to a Roundabout Exit step.

    *)
  16. roundaboutPassStepDetails : RouteRoundaboutPassStepDetails.t option;
    (*

    Details that are specific to a Roundabout Pass step.

    *)
  17. signpost : RouteSignpost.t option;
    (*

    Sign post information of the action, applicable only for TurnByTurn steps. See RouteSignpost for details of sub-attributes.

    *)
  18. turnStepDetails : RouteTurnStepDetails.t option;
    (*

    Details that are specific to a Turn step.

    *)
  19. type_ : RouteVehicleTravelStepType.t option;
    (*

    Type of the step.

    *)
  20. uTurnStepDetails : RouteUTurnStepDetails.t option;
    (*

    Details that are specific to a Turn step.

    *)
}
Sourceval make : ?continueHighwayStepDetails:RouteContinueHighwayStepDetails.t -> ?continueStepDetails:RouteContinueStepDetails.t -> ?currentRoad:RouteRoad.t -> ?distance:DistanceMeters.t -> ?duration:DurationSeconds.t -> ?enterHighwayStepDetails:RouteEnterHighwayStepDetails.t -> ?exitNumber:LocalizedStringList.t -> ?exitStepDetails:RouteExitStepDetails.t -> ?geometryOffset:RouteVehicleTravelStepGeometryOffsetInteger.t -> ?instruction:SensitiveString.t -> ?keepStepDetails:RouteKeepStepDetails.t -> ?nextRoad:RouteRoad.t -> ?rampStepDetails:RouteRampStepDetails.t -> ?roundaboutEnterStepDetails:RouteRoundaboutEnterStepDetails.t -> ?roundaboutExitStepDetails:RouteRoundaboutExitStepDetails.t -> ?roundaboutPassStepDetails:RouteRoundaboutPassStepDetails.t -> ?signpost:RouteSignpost.t -> ?turnStepDetails:RouteTurnStepDetails.t -> ?type_:RouteVehicleTravelStepType.t -> ?uTurnStepDetails:RouteUTurnStepDetails.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of RouteVehicleTravelStepGeometryOffsetInteger.t | `List of [> `Structure of (string * [> `String of LanguageTag.t ]) list ] list | `Long of DistanceMeters.t | `String of SensitiveString.t | `Structure of (string * [> `Double of TurnAngle.t | `Enum of string | `Integer of RouteExitStepDetailsRelativeExitInteger.t | `List of [> `Structure of (string * [> `Enum of string | `String of LanguageTag.t | `Structure of (string * [> `Enum of string | `String of LanguageTag.t ]) list ]) 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