Trait FromValueRef

Source
pub trait FromValueRef {
    // Required method
    fn from_value_ref(value: &Value) -> Self;
}

Required Methods§

Source

fn from_value_ref(value: &Value) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl FromValueRef for bool

Source§

impl FromValueRef for f32

Source§

impl FromValueRef for f64

Source§

impl FromValueRef for i32

Source§

impl FromValueRef for i64

Source§

impl FromValueRef for String

Source§

impl FromValueRef for DateTime<Utc>

Implementors§