Skip to main content

SQLiteAffinity

Trait SQLiteAffinity 

Source
pub trait SQLiteAffinity: DataType {
    const SQL_TYPE: &'static str;
}
Expand description

The SQLite type affinity of a SQL type marker such as Integer or Text.

Required Associated Constants§

Source

const SQL_TYPE: &'static str

The affinity as written in DDL ("INTEGER", "TEXT", …).

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl SQLiteAffinity for Any

Source§

const SQL_TYPE: &'static str = "ANY"

Source§

impl SQLiteAffinity for Blob

Source§

const SQL_TYPE: &'static str = "BLOB"

Source§

impl SQLiteAffinity for Integer

Source§

const SQL_TYPE: &'static str = "INTEGER"

Source§

impl SQLiteAffinity for Numeric

Source§

const SQL_TYPE: &'static str = "NUMERIC"

Source§

impl SQLiteAffinity for Real

Source§

const SQL_TYPE: &'static str = "REAL"

Source§

impl SQLiteAffinity for Text

Source§

const SQL_TYPE: &'static str = "TEXT"