pub struct Geometry {
pub kind: String,
pub coordinates: Value,
}Expand description
A GeoJSON geometry within a Feature. The coordinates are carried untyped
(they are deep nested arrays in GeoFRED’s display projection); kind is the
GeoJSON geometry type, e.g. "MultiPolygon".
Fields§
§kind: StringThe GeoJSON geometry type, e.g. "MultiPolygon" or "Polygon".
coordinates: ValueThe geometry coordinates, verbatim — nested arrays in GeoFRED’s display projection, not interpreted by this crate.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Geometry
impl<'de> Deserialize<'de> for Geometry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Geometry
Auto Trait Implementations§
impl Freeze for Geometry
impl RefUnwindSafe for Geometry
impl Send for Geometry
impl Sync for Geometry
impl Unpin for Geometry
impl UnsafeUnpin for Geometry
impl UnwindSafe for Geometry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more