rig_sqlite

Trait ColumnValue

Source
pub trait ColumnValue: Send + Sync {
    // Required methods
    fn to_sql_string(&self) -> String;
    fn column_type(&self) -> &'static str;
}

Required Methods§

Source

fn to_sql_string(&self) -> String

Source

fn column_type(&self) -> &'static str

Implementations on Foreign Types§

Source§

impl ColumnValue for String

Source§

fn to_sql_string(&self) -> String

Source§

fn column_type(&self) -> &'static str

Implementors§