pub struct AttributeOptions {
pub bbox: Option<String>,
pub language: Option<String>,
pub provider_extra: Option<Value>,
}Expand description
Options for map attribute queries.
Fields§
§bbox: Option<String>Bounding box for the attribute query (format: “south,west,north,east”)
language: Option<String>Preferred response language (BCP 47 language tag)
provider_extra: Option<Value>Provider-specific options (HERE: layer, format, ids, srs, include, exclude)
Trait Implementations§
Source§impl Clone for AttributeOptions
impl Clone for AttributeOptions
Source§fn clone(&self) -> AttributeOptions
fn clone(&self) -> AttributeOptions
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 AttributeOptions
impl Debug for AttributeOptions
Source§impl Default for AttributeOptions
impl Default for AttributeOptions
Source§fn default() -> AttributeOptions
fn default() -> AttributeOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttributeOptions
impl<'de> Deserialize<'de> for AttributeOptions
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 AttributeOptions
impl RefUnwindSafe for AttributeOptions
impl Send for AttributeOptions
impl Sync for AttributeOptions
impl Unpin for AttributeOptions
impl UnsafeUnpin for AttributeOptions
impl UnwindSafe for AttributeOptions
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