Module Values.RouteWeightConstraintSource

The weight constraint for the route. Unit: kilograms

Sourcetype nonrec t = {
  1. type_ : RouteWeightConstraintType.t option;
    (*

    The type of constraint.

    *)
  2. value : WeightKilograms.t option;
    (*

    The constraint value. Unit: kilograms

    *)
}
Sourceval make : ?type_:??? -> ?value:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Long of WeightKilograms.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