pub struct ReverseGeocodeOptions {
pub limit: Option<u32>,
pub language: Option<String>,
pub radius: Option<f64>,
pub provider_extra: Option<Value>,
}Expand description
Options for reverse geocoding (coordinate → address).
Fields§
§limit: Option<u32>Maximum number of results to return
language: Option<String>Preferred response language (BCP 47 language tag)
radius: Option<f64>Search radius in meters
provider_extra: Option<Value>Provider-specific options
Trait Implementations§
Source§impl Clone for ReverseGeocodeOptions
impl Clone for ReverseGeocodeOptions
Source§fn clone(&self) -> ReverseGeocodeOptions
fn clone(&self) -> ReverseGeocodeOptions
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 moreSource§impl Debug for ReverseGeocodeOptions
impl Debug for ReverseGeocodeOptions
Source§impl Default for ReverseGeocodeOptions
impl Default for ReverseGeocodeOptions
Source§fn default() -> ReverseGeocodeOptions
fn default() -> ReverseGeocodeOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReverseGeocodeOptions
impl<'de> Deserialize<'de> for ReverseGeocodeOptions
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 Freeze for ReverseGeocodeOptions
impl RefUnwindSafe for ReverseGeocodeOptions
impl Send for ReverseGeocodeOptions
impl Sync for ReverseGeocodeOptions
impl Unpin for ReverseGeocodeOptions
impl UnsafeUnpin for ReverseGeocodeOptions
impl UnwindSafe for ReverseGeocodeOptions
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