pub struct ReverseQuery {
pub lat: f64,
pub lon: f64,
pub address_details: bool,
pub extra_tags: bool,
pub name_details: bool,
pub accept_language: Option<Vec<String>>,
pub zoom: Zoom,
}Fields§
§lat: f64§lon: f64§address_details: boolInclude a breakdown of the address into elements. (Default: true)
Include additional information if the result is available
name_details: boolInclude a list of alternative names in the results. This may include language variants, references, operator and brand.
accept_language: Option<Vec<String>>Preferred language order for showing search results, overrides the value specified in the “Accept-Languague” HTTP header. Either use a standard RFC2616 accept-language string or a simple comma-separated list of language codes.
zoom: ZoomTrait Implementations§
Source§impl Clone for ReverseQuery
impl Clone for ReverseQuery
Source§fn clone(&self) -> ReverseQuery
fn clone(&self) -> ReverseQuery
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReverseQuery
impl Debug for ReverseQuery
Auto Trait Implementations§
impl Freeze for ReverseQuery
impl RefUnwindSafe for ReverseQuery
impl Send for ReverseQuery
impl Sync for ReverseQuery
impl Unpin for ReverseQuery
impl UnwindSafe for ReverseQuery
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