Struct geojson::Geometry [] [src]

pub struct Geometry {
    pub bbox: Option<Bbox>,
    pub value: Value,
    pub foreign_members: Option<Map<String, JsonValue>>,
}

Fields

Foreign Members

RFC7946 § 6

Methods

impl Geometry
[src]

[src]

Returns a new Geometry with the specified value. bbox and foreign_members will be set to None.

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.

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 Serialize for Geometry
[src]

[src]

Serialize this value into the given Serde serializer. Read more

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

[src]

Deserialize this value from the given Serde deserializer. Read more