Structures
The following structures are available globally.
-
AddressQueryConstraint used to limit search results according to Dadata online API documentation.
See moreDeclaration
Swift
public struct AddressQueryConstraint : Codable
-
Helps prioritize specified region in search results by KLADR ID.
See moreDeclaration
Swift
public struct RegionPriority : Encodable
-
ScaleBound holds a value for
See morefrom_bound
andto_bound
as a ScaleLevel. See Dadata online API documentation for API reference.Declaration
Swift
public struct ScaleBound : Encodable
-
AddressSuggestionResponse represents a deserializable object used to hold API response.
See moreDeclaration
Swift
public struct AddressSuggestionResponse : Decodable
-
Every single suggestion is represented as AddressSuggestions.
See moreDeclaration
Swift
public struct AddressSuggestions : Decodable
-
All the data returned in response to suggestion query.
See moreDeclaration
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
See morenil
is returned instead.Declaration
Swift
public struct Metro : Decodable