pub trait EntitySchema: EntityIdentity {
const MODEL: &'static EntityModel;
const FIELDS: &'static [&'static str];
const INDEXES: &'static [&'static IndexModel];
}Expand description
EntitySchema Declared schema facts for an entity.
Required Associated Constants§
const MODEL: &'static EntityModel
const FIELDS: &'static [&'static str]
const INDEXES: &'static [&'static IndexModel]
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.