Structures

The following structures are available globally.

  • AddressQueryConstraint used to limit search results according to Dadata online API documentation.

    See more

    Declaration

    Swift

    public struct AddressQueryConstraint : Codable
  • Helps prioritize specified region in search results by KLADR ID.

    See more

    Declaration

    Swift

    public struct RegionPriority : Encodable
  • ScaleBound holds a value for from_bound and to_bound as a ScaleLevel. See Dadata online API documentation for API reference.

    See more

    Declaration

    Swift

    public struct ScaleBound : Encodable
  • AddressSuggestionResponse represents a deserializable object used to hold API response.

    See more

    Declaration

    Swift

    public struct AddressSuggestionResponse : Decodable
  • Every single suggestion is represented as AddressSuggestions.

    See more

    Declaration

    Swift

    public struct AddressSuggestions : Decodable
  • All the data returned in response to suggestion query.

    See more

    Declaration

    Swift

    public struct AddressSuggestionData : Decodable
  • Structure holding metro station name, name of a line and distance to suggested address. If there aren’t metro stations nearby or API token used not subscribed to “Maximal” package nil is returned instead.

    See more

    Declaration

    Swift

    public struct Metro : Decodable