pub trait Model<'a> {
type TableType;
const DEFINITION: Self::TableType;
}
Expand description
Trait for table definition.
Required Associated Constants§
Sourceconst DEFINITION: Self::TableType
const DEFINITION: Self::TableType
The table definition.
Required Associated Types§
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.