Struct geojson::Feature
[−]
[src]
pub struct Feature { pub bbox: Option<Bbox>, pub geometry: Option<Geometry>, pub id: Option<JsonValue>, pub properties: Option<Map<String, JsonValue>>, pub foreign_members: Option<Map<String, JsonValue>>, }
Feature Objects
Fields
bbox: Option<Bbox>
geometry: Option<Geometry>
id: Option<JsonValue>
properties: Option<Map<String, JsonValue>>
foreign_members: Option<Map<String, JsonValue>>
Foreign Members
Trait Implementations
impl Clone for Feature
[src]
fn clone(&self) -> Feature
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Feature
[src]
impl PartialEq for Feature
[src]
fn eq(&self, __arg_0: &Feature) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Feature) -> bool
[src]
This method tests for !=
.
impl Serialize for Feature
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for Feature
[src]
fn deserialize<D>(deserializer: D) -> Result<Feature, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more