pub trait StoreModel:
Serialize
+ DeserializeOwned
+ JsonSchema {
const SCHEMA_NAME: &'static str;
}Expand description
A store file type.
Required Associated Constants§
Sourceconst SCHEMA_NAME: &'static str
const SCHEMA_NAME: &'static str
File stem of the generated JSON Schema: docs/schema/<NAME>.schema.json.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".