pub fn serialize(value: &mut Value, iso8601: bool) -> Result<()>Expand description
Converts ts_*, expire_time, and expire_time_ns fields to ISO 8601 or nanosecond strings.
Rewrites unsigned integers and decimal strings in nested objects and arrays.
ISO output uses UTC with nine fractional digits and a Z suffix.
Existing nonnumeric strings are preserved.
Preserves exec_algorithm_params and the info maps in OrderFilled and OrderFillVoided.
ยงErrors
Returns an error if [Timestamp] rejects a value; its range includes all u64 nanoseconds.