[][src]Trait rustorm_dao::value::ToValue

pub trait ToValue {
    fn to_value(&self) -> Value;
}

A trait to allow passing of parameters ergonomically in em.execute_sql_with_return

Required methods

fn to_value(&self) -> Value

Loading content...

Implementations on Foreign Types

impl ToValue for bool[src]

impl ToValue for i8[src]

impl ToValue for i16[src]

impl ToValue for i32[src]

impl ToValue for i64[src]

impl ToValue for f32[src]

impl ToValue for f64[src]

impl ToValue for Vec<u8>[src]

impl ToValue for char[src]

impl ToValue for String[src]

impl ToValue for Uuid[src]

impl ToValue for NaiveDate[src]

impl ToValue for NaiveTime[src]

impl ToValue for DateTime<Utc>[src]

impl ToValue for NaiveDateTime[src]

impl<'_> ToValue for &'_ str[src]

impl ToValue for Vec<String>[src]

impl<T> ToValue for Option<T> where
    T: ToValue
[src]

impl<'_, T> ToValue for &'_ T where
    T: ToValue
[src]

Loading content...

Implementors

Loading content...