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

[GeoJSON Format Specification § 3.2] (https://tools.ietf.org/html/rfc7946#section-3.2)

Fields

Foreign Members

[RFC7946 § 6] (https://tools.ietf.org/html/rfc7946#section-6)

Trait Implementations

impl From<Feature> for GeoJson
[src]

Performs the conversion.

impl Clone for Feature
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Feature
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Feature
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> From<&'a Feature> for Map<String, JsonValue>
[src]

Performs the conversion.

impl Serialize for Feature
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for Feature
[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for Feature

impl Sync for Feature