Trait Table

Source
pub trait Table {
    type Fields: Default;

    const NAME: &'static str;

    // Provided method
    fn table() -> TableQuery<Self> { ... }
}

Required Associated Constants§

Source

const NAME: &'static str

Required Associated Types§

Provided Methods§

Source

fn table() -> TableQuery<Self>

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§