Struct citymapper::PointCoverage [] [src]

pub struct PointCoverage {
    pub covered: bool,
    pub coord: (f64, f64),
    pub id: Option<String>,
}

One point in a response from the coverage API (either single or multi point)

Fields

Whether or not the API covers this point

The coordinate that was passed to the API

The ID that was passed to the API, if any. See the MultiPointCoverageQuery struct.

Trait Implementations

impl Debug for PointCoverage
[src]

Formats the value using the given formatter.

impl Clone for PointCoverage
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more