Skip to main content

NullableBindValue

Trait NullableBindValue 

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

Converts an optional Rust value into a nullable dialect value.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<V, Expected, T> NullableBindValue<'_, V, Expected> for Option<T>

Implementors§