Struct geocoding::geoadmin::GeoAdminForwardResponse
source · [−]pub struct GeoAdminForwardResponse<T> where
T: Float + Debug, {
pub features: Vec<GeoAdminForwardLocation<T>>,
}
Expand description
The top-level full JSON (GeoJSON Feature Collection) response returned by a forward-geocoding request
See the documentation for more details
{
"type": "FeatureCollection",
"features": [
{
"properties": {
"origin": "address",
"geom_quadindex": "021300220302203002031",
"weight": 1512,
"zoomlevel": 10,
"lon": 7.451352119445801,
"detail": "seftigenstrasse 264 3084 wabern 355 koeniz ch be",
"rank": 7,
"lat": 46.92793655395508,
"num": 264,
"y": 2600968.75,
"x": 1197427.0,
"label": "Seftigenstrasse 264 <b>3084 Wabern</b>"
"id": 1420809,
}
}
]
}
Fields
features: Vec<GeoAdminForwardLocation<T>>
Trait Implementations
sourceimpl<'de, T> Deserialize<'de> for GeoAdminForwardResponse<T> where
T: Float + Debug,
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for GeoAdminForwardResponse<T> where
T: Float + Debug,
T: Deserialize<'de>,
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for GeoAdminForwardResponse<T> where
T: RefUnwindSafe,
impl<T> Send for GeoAdminForwardResponse<T> where
T: Send,
impl<T> Sync for GeoAdminForwardResponse<T> where
T: Sync,
impl<T> Unpin for GeoAdminForwardResponse<T> where
T: Unpin,
impl<T> UnwindSafe for GeoAdminForwardResponse<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more