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
covered: bool
Whether or not the API covers this point
coord: (f64, f64)
The coordinate that was passed to the API
id: Option<String>
The ID that was passed to the API, if any. See the MultiPointCoverageQuery
struct.
Trait Implementations
impl Debug for PointCoverage
[src]
impl Clone for PointCoverage
[src]
fn clone(&self) -> PointCoverage
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more