trs_data_value

Trait Extract

Source
pub trait Extract {
    // Required method
    fn extract(v: &DataValue) -> Self;
}

Required Methods§

Source

fn extract(v: &DataValue) -> 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 Extract for bool

Source§

impl Extract for f32

Source§

impl Extract for f64

Source§

impl Extract for i32

Source§

impl Extract for i64

Source§

impl Extract for i128

Source§

impl Extract for u8

Source§

impl Extract for u32

Source§

impl Extract for u64

Source§

impl Extract for u128

Source§

impl Extract for String

Source§

impl<T> Extract for Vec<T>
where T: Extract,

Source§

impl<V> Extract for HashMap<String, V>
where V: Extract,

Implementors§