PlaceIdResult
public struct PlaceIdResult : Hashable
Holds the result for a single place ID from a SearchEngine.searchByPlaceIds request.
-
The place ID provided in the corresponding
PlaceIdQuery.id.Declaration
Swift
public var queryId: String -
The resolved
Place, ornilif no place could be resolved for the inputPlaceIdQuery.id. Note The resolvedPlace.idmay differ from thequeryIdin some cases. UsePlaceIdResult.queryIdto correlate this result with the original request.Declaration
Swift
public var place: Place? -
Creates a new instance.
Declaration
Swift
public init(queryId: String, place: Place? = nil)