Struct geojson::Feature [] [src]

pub struct Feature {
    pub bbox: Option<Bbox>,
    pub crs: Option<Crs>,
    pub geometry: Option<Geometry>,
    pub id: Option<JsonValue>,
    pub properties: Option<JsonObject>,
}

Fields

bbox: Option<Bbox> crs: Option<Crs> geometry: Option<Geometry> id: Option<JsonValue> properties: Option<JsonObject>

Trait Implementations

impl PartialEq for Feature
[src]

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

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

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

This method tests for !=.

impl Debug for Feature
[src]

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

Formats the value using the given formatter.

impl Clone for Feature
[src]

fn clone(&self) -> Feature

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 Feature
[src]

fn to_json(&self) -> Json

Converts the value of self to an instance of JSON