Skip to main content

Schematic

Trait Schematic 

Source
pub trait Schematic {
    // Required method
    fn create_schema() -> Schema;
}

Required Methods§

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 Schematic for bool

Source§

impl Schematic for f32

Source§

impl Schematic for f64

Source§

impl Schematic for i32

Source§

impl Schematic for i64

Source§

impl Schematic for usize

Source§

impl Schematic for String

Source§

impl<K: Schematic + 'static, V: Schematic + 'static> Schematic for HashMap<K, V>

Source§

impl<T: Schematic + 'static> Schematic for Option<T>

Source§

impl<T: Schematic + 'static> Schematic for Vec<T>

Implementors§