Trait rsfbclient_core::IntoParam
source · [−]pub trait IntoParam {
fn into_param(self) -> SqlType;
}
Expand description
Implemented for types that can be sent as parameters
Required Methods
fn into_param(self) -> SqlType
Implementations on Foreign Types
sourceimpl IntoParam for NaiveDateTime
impl IntoParam for NaiveDateTime
fn into_param(self) -> SqlType
sourceimpl<T> IntoParam for Option<T> where
T: IntoParam,
impl<T> IntoParam for Option<T> where
T: IntoParam,
Implements IntoParam
for all nullable variants
fn into_param(self) -> SqlType
sourceimpl<T, B> IntoParam for &B where
B: ToOwned<Owned = T> + ?Sized,
T: Borrow<B> + IntoParam,
impl<T, B> IntoParam for &B where
B: ToOwned<Owned = T> + ?Sized,
T: Borrow<B> + IntoParam,
Implements IntoParam
for all borrowed variants (&str, Cow and etc)