Module Values.RoutePedestrianTravelStepSource

Steps of a leg that must be performed during the travel portion of the leg.

Sourcetype nonrec t = {
  1. continueStepDetails : RouteContinueStepDetails.t option;
    (*

    Details related to the continue step.

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

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

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

    Distance of the step.

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

    Duration of the step. Unit: seconds

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

    Exit number of the road exit, if applicable.

    *)
  6. geometryOffset : RoutePedestrianTravelStepGeometryOffsetInteger.t option;
    (*

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

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

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

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

    Details that are specific to a Keep step.

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

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

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

    Details that are specific to a Roundabout Enter step.

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

    Details that are specific to a Roundabout Exit step.

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

    Details that are specific to a Roundabout Pass step.

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

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

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

    Details that are specific to a turn step.

    *)
  15. type_ : RoutePedestrianTravelStepType.t option;
    (*

    Type of the step.

    *)
}
Sourceval make : ?continueStepDetails:??? -> ?currentRoad:??? -> ?distance:??? -> ?duration:??? -> ?exitNumber:??? -> ?geometryOffset:??? -> ?instruction:??? -> ?keepStepDetails:??? -> ?nextRoad:??? -> ?roundaboutEnterStepDetails:??? -> ?roundaboutExitStepDetails:??? -> ?roundaboutPassStepDetails:??? -> ?signpost:??? -> ?turnStepDetails:??? -> ?type_:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of RoutePedestrianTravelStepGeometryOffsetInteger.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 RouteRoundaboutExitStepDetailsRelativeExitInteger.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