pub enum Property {
Show 13 variants
Null,
String(String),
Int64(i64),
Float64(f64),
Bool(bool),
List(Vec<Property>),
Map(HashMap<String, Property>),
DateTime {
nanos: i128,
tz_offset_secs: Option<i32>,
tz_name: Option<String>,
},
LocalDateTime(i128),
Date(i64),
Duration(Duration),
Time {
nanos: i64,
tz_offset_secs: Option<i32>,
},
Point(Point),
}Variants§
Null
String(String)
Int64(i64)
Float64(f64)
Bool(bool)
List(Vec<Property>)
Map(HashMap<String, Property>)
DateTime
UTC epoch nanoseconds with an optional timezone offset
and optional IANA region name. The nanos value is always UTC;
tz_offset_secs is the offset at this instant (used for the
+HH:MM / Z suffix), and tz_name — when set — is the
zone identifier (e.g. "Europe/Stockholm") that produced
that offset, rendered as a [Region/City] suffix.
LocalDateTime(i128)
Local (naive) datetime as epoch nanoseconds. Formatters omit any timezone suffix.
Date(i64)
Days since the UNIX epoch (1970-01-01, UTC). i64 gives
roughly ±25 billion years — wide enough to round-trip the
±999999999 year range the TCK exercises at its extremes.
Maps to Bolt Date (struct tag 0x44), which is also i64.
Duration(Duration)
A Cypher duration value — see Duration.
Time
Time of day as nanoseconds since midnight, with an optional
timezone offset in seconds. Distinct from DateTime so the
formatter can produce '12:31:14.645876123' instead of a
full date-time string.
Point(Point)
A spatial point — see Point. Encoded on the Bolt wire as
either a Point2D (tag 0x58) or Point3D (tag 0x59)
struct depending on whether z is set.