Module Values.SuggestResultItemSource

The resulting item from the suggested query.

Sourcetype nonrec t = {
  1. title : SuggestResultItemTitleString.t option;
    (*

    The display title that should be used when presenting this option to the end user.

    *)
  2. suggestResultItemType : SuggestResultItemType.t option;
    (*

    The result type. Place results represent the final result for a point of interest, Query results represent a follow up query which can be completed through the SearchText operation.

    *)
  3. place : SuggestPlaceResult.t option;
    (*

    The suggested place by its unique ID.

    *)
  4. query : SuggestQueryResult.t option;
  5. highlights : SuggestHighlights.t option;
    (*

    Describes how the parts of the response element matched the input query by returning the sections of the response which matched to input query terms.

    *)
}
Sourceval make : ?title:??? -> ?suggestResultItemType:??? -> ?place:??? -> ?query:??? -> ?highlights:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of SuggestResultItemTitleString.t | `Structure of (string * [> `Enum of string | `List of [> `Double of Double.t | `Structure of (string * [> `Boolean of SensitiveBoolean.t | `Integer of HighlightStartIndexInteger.t | `List of [> `Double of Double.t | `Structure of (string * [> `Boolean of SensitiveBoolean.t | `String of CategoryIdString.t ]) list ] list | `String of CategoryIdString.t ]) list ] list | `Long of DistanceMeters.t | `String of SuggestPlaceResultPlaceIdString.t | `Structure of (string * [> `List of [> `String of IntersectionStreet.t | `Structure of (string * [> `Boolean of SensitiveBoolean.t | `Enum of string | `Integer of HighlightStartIndexInteger.t | `String of StreetComponentsBaseNameString.t ]) list ] list | `Long of TimeZoneOffsetSecondsLong.t | `String of AddressLabelString.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of SensitiveBoolean.t | `String of PhonemeTranscriptionValueString.t ]) list ] list | `String of CountryCode2.t ]) 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