pub struct Feature {
pub fid: Option<i64>,
pub geometry: Option<Geometry>,
pub attributes: Vec<Value>,
}Fields§
§fid: Option<i64>Feature identifier. None for formats that don’t expose stable FIDs.
geometry: Option<Geometry>Geometry payload. None for attribute-only tables (GDB system tables,
DBF-only Shapefile sidecars).
attributes: Vec<Value>Attribute values, in the same order as Schema::fields. Length
must equal Schema::fields.len().
Implementations§
Trait Implementations§
impl StructuralPartialEq for Feature
Auto Trait Implementations§
impl Freeze for Feature
impl RefUnwindSafe for Feature
impl Send for Feature
impl Sync for Feature
impl Unpin for Feature
impl UnsafeUnpin for Feature
impl UnwindSafe for Feature
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