pub trait BindValue {
// Required method
fn to_value(&self) -> Value;
}Expand description
Converts a Rust value into a bound Value.
Implemented for the primitive column types the ORM understands. A blanket
implementation maps Option<T> so that None becomes Value::Null.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".