pub trait RuntimeValueEncode {
// Required method
fn to_value(&self) -> Value;
}Expand description
RuntimeValueEncode
Narrow runtime lowering boundary for typed value surfaces that can be
projected into the internal Value union.
This is the encode-side owner used by generated wrappers and shared helper
paths that only need one-way lowering.
It is runtime-only and MUST NOT be used for persisted-row codecs,
storage-key encoding, or any other persistence/storage encoding path.