Skip to main content

FromFieldValue

Trait FromFieldValue 

Source
pub trait FromFieldValue: Sized {
    // Required method
    fn from_field_value(v: &FieldValue) -> Option<Self>;
}
Expand description

Typed extraction from a FieldValue.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl FromFieldValue for bool

Source§

impl FromFieldValue for f32

Source§

impl FromFieldValue for f64

Source§

impl FromFieldValue for i32

Source§

impl FromFieldValue for i64

Source§

impl FromFieldValue for u32

Source§

impl FromFieldValue for u64

Source§

impl FromFieldValue for String

Source§

impl FromFieldValue for Vec<u8>

Implementors§