pub enum GeoJson {
Geometry(Geometry),
Feature(Feature),
FeatureCollection(FeatureCollection),
}
Expand description
GeoJSON Objects
Variants
Geometry(Geometry)
Feature(Feature)
FeatureCollection(FeatureCollection)
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for GeoJson
impl<'de> Deserialize<'de> for GeoJson
sourcefn deserialize<D>(deserializer: D) -> Result<GeoJson, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<GeoJson, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<FeatureCollection> for GeoJson
impl From<FeatureCollection> for GeoJson
sourcefn from(feature_collection: FeatureCollection) -> GeoJson
fn from(feature_collection: FeatureCollection) -> GeoJson
Converts to this type from the input type.
impl StructuralPartialEq for GeoJson
Auto Trait Implementations
impl RefUnwindSafe for GeoJson
impl Send for GeoJson
impl Sync for GeoJson
impl Unpin for GeoJson
impl UnwindSafe for GeoJson
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more