Skip to main content

SchemaType

Trait SchemaType 

Source
pub trait SchemaType: Sealed {
    const NAME: &'static str;
}

Required Associated Constants§

Source

const NAME: &'static str

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§

Source§

impl<S: Sealed> SchemaType for S

Source§

const NAME: &'static str = <S as Sealed>::NAME