GeonameMatch

public struct GeonameMatch
extension GeonameMatch: Equatable, Hashable

A fetched geoname with info on how it was matched.

  • The geoname that was matched.

    Declaration

    Swift

    public var geoname: Geoname
  • The type of name that was matched.

    Declaration

    Swift

    public var matchType: GeonameMatchType
  • Whether the name was matched by prefix.

    Declaration

    Swift

    public var prefix: Bool
  • Declaration

    Swift

    public init(
        /**
         * The geoname that was matched.
         */geoname: Geoname, 
        /**
         * The type of name that was matched.
         */matchType: GeonameMatchType, 
        /**
         * Whether the name was matched by prefix.
         */prefix: Bool)
  • Declaration

    Swift

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

    Swift

    public func hash(into hasher: inout Hasher)