pub enum Value {
Empty,
String(String),
Number(f64),
Bool(bool),
DateNumber(f64),
Rows(RowsHandle),
Map(MapHandle),
List(ListHandle),
}Variants§
Empty
String(String)
Number(f64)
Bool(bool)
DateNumber(f64)
An Excel serial number whose source cell carried a date /
datetime numFmt. Behaves like Number for arithmetic and
numeric comparison; its canonical string form is the ISO
YYYY-MM-DD / YYYY-MM-DDTHH:MM:SS representation per
ADR-0017. Output cells write the raw serial — the format is
reapplied by the consuming spreadsheet.
Rows(RowsHandle)
All source rows visible to the active expansion block. Used for row aggregates. Not emitted as a cell value.
Map(MapHandle)
Reserved-sheet dictionary value (__config__, __inputs__,
__lists__). Looked up via <ns>[key] in expressions.
List(ListHandle)
A list — typically a column of __lists__. Used by the in
and !in operators inside @filter.
Implementations§
Source§impl Value
impl Value
Sourcepub fn canonical(&self) -> String
pub fn canonical(&self) -> String
Canonical string form per ADR-0009 (xl3 TS canonicalString mirror).
Used when a value is substituted into a mixed text cell — e.g.
"Hello {{ [Name] }}" — so cross-impl rendering of booleans /
numbers / empty values is stable.