pub trait HasSchema<Value>: HasSchemaType {
// Required method
fn schema(&self, phantom: PhantomData<Value>) -> &Self::Schema;
}
Required Methods§
fn schema(&self, phantom: PhantomData<Value>) -> &Self::Schema
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.