SchemaBridge

Trait SchemaBridge 

Source
pub trait SchemaBridge {
    // Required methods
    fn to_ts() -> String;
    fn to_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 SchemaBridge for bool

Source§

impl SchemaBridge for f64

Source§

impl SchemaBridge for i32

Source§

impl SchemaBridge for String

Source§

impl<T> SchemaBridge for Option<T>
where T: SchemaBridge,

Source§

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

Implementors§