pub trait IntoParam {
    // Required method
    fn into_param(self) -> SqlType;
}
Expand description

Implemented for types that can be sent as parameters

Required Methods§

Implementations on Foreign Types§

source§

impl IntoParam for bool

source§

impl IntoParam for f32

source§

impl IntoParam for f64

source§

impl IntoParam for i8

source§

impl IntoParam for i16

source§

impl IntoParam for i32

source§

impl IntoParam for i64

source§

impl IntoParam for u8

source§

impl IntoParam for u16

source§

impl IntoParam for u32

source§

impl IntoParam for String

source§

impl IntoParam for Vec<u8>

source§

impl IntoParam for NaiveDate

source§

impl IntoParam for NaiveDateTime

source§

impl IntoParam for NaiveTime

source§

impl<T> IntoParam for Option<T>
where T: IntoParam,

Implements IntoParam for all nullable variants

source§

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)

Implementors§