pub struct VectorLayer {
pub id: String,
pub description: Option<String>,
pub minzoom: Option<u8>,
pub maxzoom: Option<u8>,
pub fields: BTreeMap<String, String>,
}Expand description
Old spec tracks basic vector data
Fields§
§id: StringThe id of the layer
description: Option<String>The description of the layer
minzoom: Option<u8>The min zoom of the layer
maxzoom: Option<u8>The max zoom of the layer
fields: BTreeMap<String, String>Information about each field property
Trait Implementations§
Source§impl Clone for VectorLayer
impl Clone for VectorLayer
Source§fn clone(&self) -> VectorLayer
fn clone(&self) -> VectorLayer
Returns a duplicate of the value. Read more
1.0.0 · 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 VectorLayer
impl Debug for VectorLayer
Source§impl Default for VectorLayer
impl Default for VectorLayer
Source§fn default() -> VectorLayer
fn default() -> VectorLayer
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VectorLayer
impl<'de> Deserialize<'de> for VectorLayer
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
Source§impl PartialEq for VectorLayer
impl PartialEq for VectorLayer
Source§impl Serialize for VectorLayer
impl Serialize for VectorLayer
impl StructuralPartialEq for VectorLayer
Auto Trait Implementations§
impl Freeze for VectorLayer
impl RefUnwindSafe for VectorLayer
impl Send for VectorLayer
impl Sync for VectorLayer
impl Unpin for VectorLayer
impl UnwindSafe for VectorLayer
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