Module Values.RouteDriverScheduleIntervalSource

Interval of the driver work-rest schedule. Stops are added to fulfil the provided rest schedule.

Sourcetype nonrec t = {
  1. driveDuration : DurationSeconds.t;
    (*

    Maximum allowed driving time before stopping to rest. Unit: seconds

    *)
  2. restDuration : DurationSeconds.t;
    (*

    Resting time before the driver can continue driving. Unit: seconds

    *)
}
Sourceval context_ : string
Sourceval make : driveDuration:DurationSeconds.t -> restDuration:DurationSeconds.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of DurationSeconds.t ]) 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