Skip to main content

FromValueRow

Trait FromValueRow 

Source
pub trait FromValueRow<'a> {
    // Required method
    fn from_value(value: &'a Value) -> Result<Self>
       where Self: Sized + 'a;
}

Required Methods§

Source

fn from_value(value: &'a Value) -> Result<Self>
where Self: Sized + 'a,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<'a> FromValueRow<'a> for &'a str

Source§

fn from_value(value: &'a Value) -> Result<Self>

Source§

impl<'a> FromValueRow<'a> for String

Source§

fn from_value(value: &'a Value) -> Result<Self>

Source§

impl<'a> FromValueRow<'a> for f64

Source§

fn from_value(value: &'a Value) -> Result<Self>

Source§

impl<'a> FromValueRow<'a> for i64

Source§

fn from_value(value: &'a Value) -> Result<Self>

Implementors§

Source§

impl<'a> FromValueRow<'a> for &'a Value