pub struct ReverseQuery { /* private fields */ }Expand description
Represents a reverse geocode query.
Implementations§
Source§impl ReverseQuery
impl ReverseQuery
Sourcepub fn filter_type(self, ty: FilterType) -> Self
pub fn filter_type(self, ty: FilterType) -> Self
Filter results by type, e.g. “housenumber”, “street”, etc.
Sourcepub fn limit_results(self, limit: usize) -> Self
pub fn limit_results(self, limit: usize) -> Self
Limit number of results returned
Sourcepub fn execute_blocking(&self) -> Result<AddressResult, Error>
pub fn execute_blocking(&self) -> Result<AddressResult, Error>
Executes the reverse geocode query synchronously.
Trait 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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ReverseQuery
impl RefUnwindSafe for ReverseQuery
impl Send for ReverseQuery
impl Sync for ReverseQuery
impl Unpin for ReverseQuery
impl UnsafeUnpin 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