Skip to main content

BindValue

Trait BindValue 

Source
pub trait BindValue<'a, V: SQLParam, Expected: DataType>: Sized {
    // Required method
    fn into_bind_value(self) -> V;
}
Expand description

Converts a Rust value into a dialect value while checking SQL marker assignment.

Required Methods§

Source

fn into_bind_value(self) -> V

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<V, Expected, T> BindValue<'_, V, Expected> for T