Struct citymapper::MultiPointCoverageQuery [] [src]

pub struct MultiPointCoverageQuery { /* fields omitted */ }

An individual point to send to the multi point coverage query API

Methods

impl MultiPointCoverageQuery
[src]

Create a new point to query against. The id argument can be None but if it is a string it will be passed to the API and returned in the response, see the citymapper API docs for more details.

let point_without_id = MultiPointCoverageQuery::new((0.12, 3.45), None);
let point_with_id = MultiPointCoverageQuery::new((0.12, 3.45), "someid".to_string());