pub trait IntoParam {
// Required method
fn into_param(self) -> SqlType;
}Expand description
Implemented for types that can be sent as parameters
Required Methods§
fn into_param(self) -> SqlType
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl IntoParam for NaiveDateTime
impl IntoParam for NaiveDateTime
fn into_param(self) -> SqlType
Source§impl<T, B> IntoParam for &B
Implements IntoParam for all borrowed variants (&str, Cow and etc)
impl<T, B> IntoParam for &B
Implements IntoParam for all borrowed variants (&str, Cow and etc)
fn into_param(self) -> SqlType
Source§impl<T> IntoParam for Option<T>where
T: IntoParam,
Implements IntoParam for all nullable variants
impl<T> IntoParam for Option<T>where
T: IntoParam,
Implements IntoParam for all nullable variants