serde_esri 0.5.0

A library for serializing and deserializing JSON from Esri Location Services.
//! A client for the ArcGIS Places API.
//!
//! The [`PlacesClient`] struct is used to interact with the API. You can create a new client with the [`PlacesClient::new()`] method.
//!
//! Each endpoint is supported from the client, and you can query them with the appropriate method. For example, to query the [`/places/near-point`](https://developers.arcgis.com/rest/places/near-point-get/) endpoint, you can use the [`PlacesClient::near_point()`] method.
//!
//! The client is responsible for handling the authorization token and making the requests to the API.
//!
//! For [`PlacesClient::near_point()`] and [`PlacesClient::within_extent()`] queries, the client will automatically handle pagination and return an iterator over the results. This iterator will fetch the next page when needed. It will not, however, allow you to modify the page size. The default will be used.
//!
//! Each endpoint is supported by a query struct that contains the parameters for the query. These query structs each have a corresponding `Builder` ussed to build the request and prepare the parameters for the request.
//!
//! - [`PlaceQueryParamsBuilder`] creates a [`PlaceQueryParams`] struct which is used in the [`PlacesClient::place_details()`] method.
//! - [`NearPointQueryParamsBuilder`] creates a [`NearPointQueryParams`] struct which is used in the [`PlacesClient::near_point()`] method.
//! - [`WithinExtentQueryParamsBuilder`] creates a [`WithinExtentQueryParams`] struct which is used in the [`PlacesClient::within_extent()`] method.
//! - [`CategoriesQueryParamsBuilder`] creates a [`CategoriesQueryParams`] struct which is used in the [`PlacesClient::categories()`] method.
//! - [`CategoryQueryParamsBuilder`] creates a [`CategoryQueryParams`] struct which is used in the [`PlacesClient::category_details()`] method.
mod query_params;
mod responses;
pub use query_params::*;
pub use responses::*;

#[cfg(feature = "places-client")]
mod client;
#[cfg(feature = "places-client")]
mod place_search;

#[cfg(feature = "places-client")]
pub use client::*;
#[cfg(feature = "places-client")]
pub use place_search::*;