pub trait EntryModel<T>{
// Required methods
fn name() -> &'static str;
fn get_type(&self) -> String;
fn to_input(&self) -> T;
}
Expand description
Identifies a struct as an Entity model type
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.