Enum twitter_stream_message::geometry::Geometry [] [src]

pub enum Geometry {
    Point(Position),
    MultiPoint(Vec<Position>),
    LineString(LineString),
    MultiLineString(Vec<LineString>),
    Polygon(Polygon),
    MultiPolygon(Vec<Polygon>),
}

The Geometry object specified in The GeoJSON Format (RFC7946) §3.1.

Variants

Trait Implementations

impl Clone for Geometry
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Geometry
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Geometry
[src]

[src]

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

[src]

This method tests for !=.

impl<'x> Deserialize<'x> for Geometry
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for Geometry

impl Sync for Geometry