Skip to main content

SingleTableInheritance

Trait SingleTableInheritance 

Source
pub trait SingleTableInheritance {
    // Provided method
    fn inheritance_config() -> &'static InheritanceConfig { ... }
}
Expand description

Trait implemented by base records that participate in STI.

Provided Methods§

Source

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.

Implementors§