pub struct TileOptions {
pub format: Option<String>,
pub provider_extra: Option<Value>,
}Expand description
Options for map tile retrieval.
Fields§
§format: Option<String>Response format (e.g., “protobuf”, “json”)
provider_extra: Option<Value>Provider-specific options (HERE: layer, political_view; Mapbox: style_id, access_token)
Trait Implementations§
Source§impl Clone for TileOptions
impl Clone for TileOptions
Source§fn clone(&self) -> TileOptions
fn clone(&self) -> TileOptions
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 TileOptions
impl Debug for TileOptions
Source§impl Default for TileOptions
impl Default for TileOptions
Source§fn default() -> TileOptions
fn default() -> TileOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TileOptions
impl<'de> Deserialize<'de> for TileOptions
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 TileOptions
impl RefUnwindSafe for TileOptions
impl Send for TileOptions
impl Sync for TileOptions
impl Unpin for TileOptions
impl UnsafeUnpin for TileOptions
impl UnwindSafe for TileOptions
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