pub struct GeoAdminForwardResponse<T>{
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§
Source§impl<T> Debug for GeoAdminForwardResponse<T>
impl<T> Debug for GeoAdminForwardResponse<T>
Source§impl<'de, T> Deserialize<'de> for GeoAdminForwardResponse<T>
impl<'de, T> Deserialize<'de> for GeoAdminForwardResponse<T>
Source§fn 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> Freeze for GeoAdminForwardResponse<T>
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more