GoogleApi.Places.V1.Model.GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText (google_api_places v0.11.0)
View SourceText representing a Place or query prediction. The text may be used as is or formatted.
Attributes
-
matches
(type:list(GoogleApi.Places.V1.Model.GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange.t)
, default:nil
) - A list of string ranges identifying where the input request matched intext
. The ranges can be used to format specific parts oftext
. The substrings may not be exact matches ofinput
if the matching was determined by criteria other than string matching (for example, spell corrections or transliterations). These values are Unicode character offsets oftext
. The ranges are guaranteed to be ordered in increasing offset values. -
text
(type:String.t
, default:nil
) - Text that may be used as is or formatted withmatches
.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Places.V1.Model.GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionFormattableText{ matches: [ GoogleApi.Places.V1.Model.GoogleMapsPlacesV1AutocompletePlacesResponseSuggestionStringRange.t() ] | nil, text: String.t() | nil }