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
Point(Position)
MultiPoint(Vec<Position>)
LineString(LineString)
MultiLineString(Vec<LineString>)
Polygon(Polygon)
MultiPolygon(Vec<Polygon>)
Trait Implementations
impl Clone for Geometry
[src]
fn clone(&self) -> Geometry
[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 Geometry
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for Geometry
[src]
fn eq(&self, __arg_0: &Geometry) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Geometry) -> bool
[src]
This method tests for !=
.
impl<'x> Deserialize<'x> for Geometry
[src]
fn deserialize<D: Deserializer<'x>>(d: D) -> Result<Self, D::Error>
[src]
Deserialize this value from the given Serde deserializer. Read more