pub trait TableRow {
const TABLE_NAME: &'static str;
// Provided method
fn table_ref() -> ReducerTableRef { ... }
}Expand description
Implemented by every #[table] row type. Maps the Rust struct to the module table name string.
Required Associated Constants§
const TABLE_NAME: &'static str
Provided Methods§
fn table_ref() -> ReducerTableRef
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".