Trait rusqlite::types::FromSql
[−]
[src]
pub trait FromSql: Sized { fn column_result(value: ValueRef) -> FromSqlResult<Self>; }
A trait for types that can be created from a SQLite value.
Required Methods
fn column_result(value: ValueRef) -> FromSqlResult<Self>
Implementors
impl FromSql for i8
impl FromSql for i16
impl FromSql for i32
impl FromSql for u8
impl FromSql for u16
impl FromSql for u32
impl FromSql for i64
impl FromSql for f64
impl FromSql for bool
impl FromSql for String
impl FromSql for Vec<u8>
impl<T: FromSql> FromSql for Option<T>
impl FromSql for Value
impl FromSql for Timespec
impl FromSql for NaiveDate
impl FromSql for NaiveTime
impl FromSql for NaiveDateTime
impl FromSql for DateTime<UTC>
impl FromSql for DateTime<Local>