Trait TypeAnnotatedValueConstructors

Source
pub trait TypeAnnotatedValueConstructors: Sized {
    // Required method
    fn create<T: Into<Type>>(value: &Value, typ: T) -> Result<Self, Vec<String>>;
}

Required Methods§

Source

fn create<T: Into<Type>>(value: &Value, typ: T) -> Result<Self, Vec<String>>

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.

Implementors§