pub trait ValueCodec {
// Required methods
fn to_value(&self) -> Value;
fn from_value(value: &Value) -> Option<Self>
where Self: Sized;
}Expand description
ValueCodec
Pure runtime Value conversion boundary shared by generated structured
field codecs and other typed reconstruction paths.
This intentionally excludes planner queryability metadata so conversion-only
callers do not have to depend on ValueSurfaceMeta.