PlaceDetailsCompactContent
enum PlaceDetailsCompactContent
extension PlaceDetailsCompactContent : Equatable, Hashable, Sendable
The 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
a
andb
,a == b
implies thata != b
isfalse
.Declaration
Swift
static func == (a: PlaceDetailsCompactContent, b: PlaceDetailsCompactContent) -> Bool
-
Declaration
Swift
case accessibleEntranceIcon(Bool = true)
-
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
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 }
-
Declaration
Swift
case media(Bool = false)
-
Declaration
Swift
case openNowStatus(Bool = true)
-
Declaration
Swift
case price(Bool = true)
-
Declaration
Swift
case rating(Bool = true)
-
Declaration
Swift
case type(Bool = true)