Struct geojson::FeatureCollection [] [src]

pub struct FeatureCollection {
    pub bbox: Option<Bbox>,
    pub crs: Option<Crs>,
    pub features: Vec<Feature>,
}

Feature Collection Objects

GeoJSON Format Specification § 2.3

Fields

bbox: Option<Bbox> crs: Option<Crs> features: Vec<Feature>

Trait Implementations

impl PartialEq for FeatureCollection
[src]

fn eq(&self, __arg_0: &FeatureCollection) -> bool

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

fn ne(&self, __arg_0: &FeatureCollection) -> bool

This method tests for !=.

impl Debug for FeatureCollection
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for FeatureCollection
[src]

fn clone(&self) -> FeatureCollection

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 ToJson for FeatureCollection
[src]

fn to_json(&self) -> Json

Converts the value of self to an instance of JSON