pub trait IntoValue {
const TYPE: ValueType;
// Required method
fn into_value(self) -> Value;
}Expand description
A raw value that can be handed to the persistence layer as a Value.
Required Associated Constants§
Sourceconst TYPE: ValueType
const TYPE: ValueType
The Value variant into_value gives, and
whether it may be NULL: what the persistence layer checks a column’s
type against at compile time.
Required Methods§
Sourcefn into_value(self) -> Value
fn into_value(self) -> Value
Convert into a Value.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".