Enum geojson::GeoJson[][src]

pub enum GeoJson {
    Geometry(Geometry),
    Feature(Feature),
    FeatureCollection(FeatureCollection),
}

GeoJSON Objects

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

Variants

Trait Implementations

impl Clone for GeoJson
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GeoJson
[src]

Formats the value using the given formatter. Read more

impl PartialEq for GeoJson
[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 GeoJson> for Map<String, JsonValue>
[src]

Performs the conversion.

impl From<Geometry> for GeoJson
[src]

Performs the conversion.

impl From<Feature> for GeoJson
[src]

Performs the conversion.

impl From<FeatureCollection> for GeoJson
[src]

Performs the conversion.

impl Serialize for GeoJson
[src]

Serialize this value into the given Serde serializer. Read more

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

Deserialize this value from the given Serde deserializer. Read more

impl FromStr for GeoJson
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl Display for GeoJson
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for GeoJson

impl Sync for GeoJson