pub trait RuntimeValueDecode {
// Required method
fn from_value(value: &Value) -> Option<Self>
where Self: Sized;
}Expand description
RuntimeValueDecode
Narrow runtime reconstruction boundary for typed value surfaces that can be
rebuilt from the internal Value union.
This is the decode-side owner used by generated wrappers and shared helper
paths that only need one-way typed reconstruction.
It is runtime-only and MUST NOT be used for persisted-row codecs,
primary-key decoding, or any other persistence/storage encoding path.
Required Methods§
fn from_value(value: &Value) -> Option<Self>where
Self: Sized,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".