pub struct PmtilesSource {
pub url: String,
pub attribution: Option<String>,
}Expand description
PMTiles archive source — local path or http(s):// URL.
Fields§
§url: String§attribution: Option<String>Explicit attribution. When absent, hosts inherit the
attribution key of the archive’s metadata JSON.
Trait Implementations§
Source§impl Clone for PmtilesSource
impl Clone for PmtilesSource
Source§fn clone(&self) -> PmtilesSource
fn clone(&self) -> PmtilesSource
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 PmtilesSource
impl Debug for PmtilesSource
Source§impl<'de> Deserialize<'de> for PmtilesSource
impl<'de> Deserialize<'de> for PmtilesSource
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 PmtilesSource
impl RefUnwindSafe for PmtilesSource
impl Send for PmtilesSource
impl Sync for PmtilesSource
impl Unpin for PmtilesSource
impl UnsafeUnpin for PmtilesSource
impl UnwindSafe for PmtilesSource
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