pub trait IntoValue {
// Required method
fn into_value(self) -> Value;
}Expand description
Ergonomic conversions so callers can write
db.query_with(sql, &[42i64.into(), "alice".into()]).
Required Methods§
fn into_value(self) -> Value
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".