Skip to main content

Module value

Module value 

Source
Expand description

Attribute values and their type tags.

Value is the per-cell payload; ValueType is the discriminant used in crate::FieldDef to declare what type a column holds.

§DateTime

v0.1 stores datetimes as f64 days since 1899-12-30 00:00:00, matching the raw GDB encoding. This is lossless and zero-dep. Writers convert to their preferred representation (ISO 8601, Arrow Timestamp, …) at write time. A strong-typed DateTime value is on the roadmap for v0.2.

Enums§

Value
One attribute value. Marked #[non_exhaustive] because future versions may add variants (e.g. Date / Time / DateTimeOffset once we move off the f64-days representation, or Json / Decimal for richer schemas) without that counting as a SemVer-breaking change.
ValueType
Type discriminant for Value. Used by crate::FieldDef to describe schema without binding a per-cell value. Tracks Value one-for-one; the same #[non_exhaustive] rationale applies.