pub trait BindValue<'a, V: SQLParam, Expected: DataType>: Sized {
// Required method
fn into_bind_value(self) -> V;
}Expand description
A Rust value that can be bound where SQL type Expected is wanted.
Implemented for every T that converts into V and whose
ValueTypeForDialect type can be stored in Expected. Used by
TypedPlaceholder::bind.
Required Methods§
Sourcefn into_bind_value(self) -> V
fn into_bind_value(self) -> V
Converts the value into the dialect’s value type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".