Values.SuggestResultItemSourceThe resulting item from the suggested query.
type nonrec t = {title : SuggestResultItemTitleString.t option;The display title that should be used when presenting this option to the end user.
*)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.
*)place : SuggestPlaceResult.t option;The suggested place by its unique ID.
*)query : SuggestQueryResult.t option;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.
*)}val 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 ]