Skip to main content

SQLiteColumn

Trait SQLiteColumn 

Source
pub trait SQLiteColumn<'a>: SQLColumn<'a, SQLiteValue<'a>> {
    const AUTOINCREMENT: bool = false;
}
Expand description

A column of a SQLite table. Implemented by #[SQLiteTable].

Provided Associated Constants§

Source

const AUTOINCREMENT: bool = false

true if the column was declared AUTOINCREMENT.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<'a, T> SQLiteColumn<'a> for &T
where T: SQLiteColumn<'a>, for<'r> &'r T: SQLColumn<'a, SQLiteValue<'a>>,

Source§

const AUTOINCREMENT: bool = T::AUTOINCREMENT

Implementors§