[][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 Vec<String>[src]

impl ToValue for bool[src]

impl<'a> ToValue for &'a bool[src]

impl ToValue for i8[src]

impl<'a> ToValue for &'a i8[src]

impl ToValue for i16[src]

impl<'a> ToValue for &'a i16[src]

impl ToValue for i32[src]

impl<'a> ToValue for &'a i32[src]

impl ToValue for i64[src]

impl<'a> ToValue for &'a i64[src]

impl ToValue for f32[src]

impl<'a> ToValue for &'a f32[src]

impl ToValue for f64[src]

impl<'a> ToValue for &'a f64[src]

impl ToValue for Vec<u8>[src]

impl<'a> ToValue for &'a Vec<u8>[src]

impl ToValue for char[src]

impl<'a> ToValue for &'a char[src]

impl ToValue for String[src]

impl<'a> ToValue for &'a String[src]

impl ToValue for Uuid[src]

impl<'a> ToValue for &'a Uuid[src]

impl ToValue for NaiveDate[src]

impl<'a> ToValue for &'a NaiveDate[src]

impl ToValue for NaiveTime[src]

impl<'a> ToValue for &'a NaiveTime[src]

impl ToValue for DateTime<Utc>[src]

impl<'a> ToValue for &'a DateTime<Utc>[src]

Loading content...

Implementors

Loading content...