PlaceDetailsCompactContent
enum PlaceDetailsCompactContentextension PlaceDetailsCompactContent : Equatable, Hashable, SendableThe content type of the place details compact view.
-
Returns a Boolean value indicating whether two values are equal.
Equality is the inverse of inequality. For any values
aandb,a == bimplies thata != bisfalse.Declaration
Swift
static func == (a: PlaceDetailsCompactContent, b: PlaceDetailsCompactContent) -> Bool -
Wheelchair icon when a place has an accessible entrance
Declaration
Swift
case accessibleEntranceIcon(Bool = true) -
The place’s address.
Declaration
Swift
case address(Bool = true) -
The hash value of the content type.
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
hashValueis deprecated as aHashablerequirement. To conform toHashable, implement thehash(into:)requirement instead. The compiler provides an implementation forhashValuefor you.Declaration
Swift
var hashValue: Int { get } -
The place’s photo.
Declaration
Swift
case media(lightbox: Bool = false) -
Open/closed status with next closing/opening time.
Declaration
Swift
case openNowStatus(Bool = true) -
The place’s price.
Declaration
Swift
case price(Bool = true) -
The place’s rating and rating count.
Declaration
Swift
case rating(Bool = true) -
The place’s type.
Declaration
Swift
case type(Bool = true)