pub trait OnTable {
type Table: Model;
}Expand description
Which table a typed column lives on. Models point at themselves; Fields point at the
table they extend, so TwoFactorUser::TWO_FACTOR_ENABLED can filter find::<User>.
Required Associated Types§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".