Trait Model

Source
pub trait Model<'a> {
    type TableType;

    const DEFINITION: Self::TableType;
}
Expand description

Trait for table definition.

Required Associated Constants§

Source

const DEFINITION: Self::TableType

The table definition.

Required Associated Types§

Source

type TableType

The table type.

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§