# GooglePlacesSwift Framework Reference

# PlaceDetailsQuery

    struct PlaceDetailsQuery

    extension PlaceDetailsQuery : Equatable

The place details component query.
- `


  ### [==(_:_:)](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlaceDetailsQuery#/s:17GooglePlacesSwift17PlaceDetailsQueryV2eeoiySbAC_ACtFZ)


  ` Returns a Boolean value indicating whether two values are equal.

  Equality is the inverse of inequality. For any values `a` and `b`,
  `a == b` implies that `a != b` is `false`.

  #### Declaration

  Swift

      static func == (lhs: PlaceDetailsQuery, rhs: PlaceDetailsQuery) -> Bool

  #### Parameters

  |---|---|
  | ` lhs ` | A value to compare. |
  | ` rhs ` | Another value to compare. |

- `


  ### [init(identifier:)](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlaceDetailsQuery#/s:17GooglePlacesSwift17PlaceDetailsQueryV10identifierAcA0D10IdentifierO_tcfc)


  ` Initializes the place details query with the given identifier.

  #### Declaration

  Swift

      init(identifier: https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/PlaceIdentifier.html)

  #### Parameters

  |---|---|
  | ` identifier ` | The place identifier. |