PlaceProperty
enum PlaceProperty
extension PlaceProperty : Equatable, Equatable, Hashable
The properties represent individual information that can be requested for a Place
object.
If no request properties are set, the Place
object will be empty with no useful information.
Please refer to https://developers.google.com/places/ios-sdk/place-data-fields for more details.
-
Returns a Boolean value indicating whether two values are equal.
Equality is the inverse of inequality. For any values
a
andb
,a == b
implies thata != b
isfalse
.Declaration
Swift
static func == (a: PlaceProperty, b: PlaceProperty) -> Bool
-
Undocumented
Declaration
Swift
case accessibilityOptions
-
Undocumented
Declaration
Swift
case addressComponents
-
Undocumented
Declaration
Swift
case all
-
Undocumented
Declaration
Swift
case businessStatus
-
Undocumented
Declaration
Swift
case coordinate
-
Undocumented
Declaration
Swift
case currentOpeningHours
-
Undocumented
Declaration
Swift
case currentSecondaryOpeningHours
-
Undocumented
Declaration
Swift
case displayName
-
Undocumented
Declaration
Swift
case editorialSummary
-
Undocumented
Declaration
Swift
case formattedAddress
-
Hashes the essential components of this value by feeding them into the given hasher.
Implement this method to conform to the
Hashable
protocol. The components used for hashing must be the same as the components compared in your type’s==
operator implementation. Callhasher.combine(_:)
with each of these components.Important
In your implementation of
hash(into:)
, don’t callfinalize()
on thehasher
instance provided, or replace it with a different instance. Doing so may become a compile-time error in the future.Declaration
Swift
func hash(into hasher: inout Hasher)
-
The hash value.
Hash values are not guaranteed to be equal across different executions of your program. Do not save hash values to use during a future execution.
Important
hashValue
is deprecated as aHashable
requirement. To conform toHashable
, implement thehash(into:)
requirement instead. The compiler provides an implementation forhashValue
for you.Declaration
Swift
var hashValue: Int { get }
-
Undocumented
Declaration
Swift
case iconBackgroundColor
-
Undocumented
Declaration
Swift
case iconMaskURL
-
Undocumented
Declaration
Swift
case internationalPhoneNumber
-
Undocumented
Declaration
Swift
case isReservable
-
Undocumented
Declaration
Swift
case numberOfUserRatings
-
Undocumented
Declaration
Swift
case photos
-
Undocumented
Declaration
Swift
case placeID
-
Undocumented
Declaration
Swift
case plusCode
-
Undocumented
Declaration
Swift
case priceLevel
-
Undocumented
Declaration
Swift
case rating
-
Undocumented
Declaration
Swift
case regularOpeningHours
-
Undocumented
Declaration
Swift
case reviews
-
Undocumented
Declaration
Swift
case servesBeer
-
Undocumented
Declaration
Swift
case servesBreakfast
-
Undocumented
Declaration
Swift
case servesBrunch
-
Undocumented
Declaration
Swift
case servesDinner
-
Undocumented
Declaration
Swift
case servesLunch
-
Undocumented
Declaration
Swift
case servesVegetarianFood
-
Undocumented
Declaration
Swift
case servesWine
-
Undocumented
Declaration
Swift
case supportsCurbsidePickup
-
Undocumented
Declaration
Swift
case supportsDelivery
-
Undocumented
Declaration
Swift
case supportsDineIn
-
Undocumented
Declaration
Swift
case supportsTakeout
-
Undocumented
Declaration
Swift
case timeZone
-
Undocumented
Declaration
Swift
case types
-
Undocumented
Declaration
Swift
case viewportInfo
-
Undocumented
Declaration
Swift
case websiteURL