pub struct GeoFeature {
pub id: Option<String>,
pub bbox: Option<BBox>,
pub geometry: Option<Geometry>,
pub properties: Properties,
}Expand description
GeoJSON-compatible feature data.
Fields§
§id: Option<String>Optional feature id.
bbox: Option<BBox>Optional feature bounding box.
geometry: Option<Geometry>Optional feature geometry.
properties: PropertiesFeature properties.
Implementations§
Source§impl GeoFeature
impl GeoFeature
Trait Implementations§
Source§impl Clone for GeoFeature
impl Clone for GeoFeature
Source§fn clone(&self) -> GeoFeature
fn clone(&self) -> GeoFeature
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GeoFeature
impl Debug for GeoFeature
Source§impl<'de> Deserialize<'de> for GeoFeature
impl<'de> Deserialize<'de> for GeoFeature
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
Source§impl PartialEq for GeoFeature
impl PartialEq for GeoFeature
Source§fn eq(&self, other: &GeoFeature) -> bool
fn eq(&self, other: &GeoFeature) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GeoFeature
impl Serialize for GeoFeature
impl StructuralPartialEq for GeoFeature
Auto Trait Implementations§
impl Freeze for GeoFeature
impl RefUnwindSafe for GeoFeature
impl Send for GeoFeature
impl Sync for GeoFeature
impl Unpin for GeoFeature
impl UnsafeUnpin for GeoFeature
impl UnwindSafe for GeoFeature
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