SearchLocation

public enum SearchLocation
extension SearchLocation: Equatable
extension SearchLocation: Encodable

The location at which a search is to be conducted

  • An airport location

    Declaration

    Swift

    case airport(airport: Airport)
  • Test whether two search locations are equivalent Parameters: - lhs: The first search location to compare - rhs: The second search location to compare

    Declaration

    Swift

    public static func == (lhs: SearchLocation, rhs: SearchLocation) -> Bool
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws