pub struct GeoFeature {
pub kind: GeoFeatureKind,
pub bbox: [f64; 4],
pub geometry: Option<GeoCoordinates>,
pub properties: HashMap<String, Value>,
}Fields§
§kind: GeoFeatureKind§bbox: [f64; 4]§geometry: Option<GeoCoordinates>§properties: HashMap<String, Value>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 · 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§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 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