Trait rustorm_dao::value::FromValue[][src]

pub trait FromValue: Sized {
    fn from_value(v: &Value) -> Result<Self, ConvertError>;
}

Required methods

Loading content...

Implementations on Foreign Types

impl FromValue for Vec<u8>[src]

try from to owned

impl FromValue for char[src]

try from to owned

impl FromValue for Uuid[src]

try from to owned

impl FromValue for NaiveDate[src]

try from to owned

impl FromValue for i8[src]

impl FromValue for i16[src]

impl FromValue for i32[src]

impl FromValue for i64[src]

impl FromValue for f32[src]

impl FromValue for f64[src]

impl FromValue for String[src]

Char can be casted into String and they havea separate implementation for extracting data

impl FromValue for Vec<String>[src]

impl FromValue for bool[src]

impl FromValue for DateTime<Utc>[src]

impl FromValue for NaiveDateTime[src]

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

Loading content...

Implementors

Loading content...