pub trait RawValue {
type Raw;
// Required method
fn to_raw(&self) -> Self::Raw;
}Expand description
A domain field type with a raw value behind it: the value filters compare with and merge patches bind.
Scalars, String and the chrono date-time types are their own raw value.
A value object gets this from #[derive(RawValue)], with the raw value of
the type it wraps; Option<T> has the optional raw value of T.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".