pub trait SingleTableInheritance {
// Provided method
fn inheritance_config() -> &'static InheritanceConfig { ... }
}Expand description
Trait implemented by base records that participate in STI.
Provided Methods§
Sourcefn inheritance_config() -> &'static InheritanceConfig
fn inheritance_config() -> &'static InheritanceConfig
Returns STI configuration for the record hierarchy.
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.