Values.SearchTextResultItemSourceThe text search result.
type nonrec t = {placeId : SearchTextResultItemPlaceIdString.t option;The PlaceId of the place you wish to receive the information for.
*)placeType : PlaceType.t option;A PlaceType is a category that the result place must belong to.
*)title : SearchTextResultItemTitleString.t option;The item's title.
*)address : Address.t option;The place's address.
*)addressNumberCorrected : SensitiveBoolean.t option;Boolean indicating if the address provided has been corrected.
*)position : Position.t option;The position in World Geodetic System (WGS 84) format: [longitude, latitude].
*)distance : DistanceMeters.t option;The distance in meters from the QueryPosition.
*)mapView : BoundingBox.t option;The bounding box enclosing the geometric shape (area or line) that an individual result covers. The bounding box formed is defined as a set 4 coordinates: [{westward lng}, {southern lat}, {eastward lng}, {northern lat}]
*)categories : CategoryList.t option;Categories of results that results must belong to.
*)foodTypes : FoodTypeList.t option;List of food types offered by this result.
*)businessChains : BusinessChainList.t option;The Business Chains associated with the place.
*)contacts : Contacts.t option;List of potential contact methods for the result/place.
*)openingHours : OpeningHoursList.t option;List of opening hours objects.
*)accessPoints : AccessPointList.t option;Position of the access point in World Geodetic System (WGS 84) format: [longitude, latitude].
*)accessRestrictions : AccessRestrictionList.t option;Indicates known access restrictions on a vehicle access point. The index correlates to an access point and indicates if access through this point has some form of restriction.
*)timeZone : TimeZone.t option;The time zone in which the place is located.
*)politicalView : CountryCode3.t option;The alpha-2 or alpha-3 character code for the political view of a country. The political view applies to the results of the request to represent unresolved territorial claims through the point of view of the specified country.
*)phonemes : PhonemeDetails.t option;How the various components of the result's address are pronounced in various languages.
*)}val make :
?placeId:??? ->
?placeType:??? ->
?title:??? ->
?address:??? ->
?addressNumberCorrected:??? ->
?position:??? ->
?distance:??? ->
?mapView:??? ->
?categories:??? ->
?foodTypes:??? ->
?businessChains:??? ->
?contacts:??? ->
?openingHours:??? ->
?accessPoints:??? ->
?accessRestrictions:??? ->
?timeZone:??? ->
?politicalView:??? ->
?phonemes:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of SensitiveBoolean.t
| `Enum of string
| `List of
[> `Double of Double.t
| `Structure of
(string
* [> `Boolean of SensitiveBoolean.t
| `List of
[> `Double of Double.t
| `String of OpeningHoursDisplay.t
| `Structure of
(string
* [> `Boolean of SensitiveBoolean.t
| `String of OpeningHoursComponentsOpenTimeString.t ])
list ]
list
| `String of CategoryIdString.t ])
list ]
list
| `Long of DistanceMeters.t
| `String of SearchTextResultItemPlaceIdString.t
| `Structure of
(string
* [> `List of
[> `String of IntersectionStreet.t
| `Structure of
(string
* [> `Boolean of SensitiveBoolean.t
| `Enum of string
| `List of
[> `Structure of
(string
* [> `Boolean of SensitiveBoolean.t
| `String of CategoryIdString.t ])
list ]
list
| `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 ]