Skip to main content

RullstModel

Trait RullstModel 

Source
pub trait RullstModel {
    // Required method
    fn table_name() -> &'static str;
}
Expand description

The core trait that all Orm models will implement via #[derive(Orm)]

Required Methods§

Source

fn table_name() -> &'static str

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§