Enum twitter_stream::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).
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
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for Geometry[src]
impl PartialEq for Geometry[src]
fn eq(&self, __arg_0: &Geometry) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Geometry) -> bool
This method tests for !=.
impl Deserialize for Geometry[src]
fn deserialize<D: Deserializer>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more