pub struct SerdeFeature {
pub fid: Option<i64>,
pub geometry_kind: Option<String>,
pub attributes: BTreeMap<String, JsonValue>,
}Expand description
Serializable feature payload (Value → JSON). Geometry is rendered as
GeoJSON-shaped JSON to keep the report self-contained without pulling
in geonative-geojson as a dep (which would create a cycle with the
CLI).
Fields§
§fid: Option<i64>§geometry_kind: Option<String>§attributes: BTreeMap<String, JsonValue>Trait Implementations§
Source§impl Debug for SerdeFeature
impl Debug for SerdeFeature
Auto Trait Implementations§
impl Freeze for SerdeFeature
impl RefUnwindSafe for SerdeFeature
impl Send for SerdeFeature
impl Sync for SerdeFeature
impl Unpin for SerdeFeature
impl UnsafeUnpin for SerdeFeature
impl UnwindSafe for SerdeFeature
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