Trait rusqlite::types::ToSql
[−]
[src]
pub trait ToSql { fn to_sql(&self) -> Result<ToSqlOutput>; }
A trait for types that can be converted into SQLite values.
Required Methods
fn to_sql(&self) -> Result<ToSqlOutput>
Implementors
impl<'a> ToSql for ToSqlOutput<'a>
impl ToSql for Null
impl ToSql for bool
impl ToSql for i8
impl ToSql for i16
impl ToSql for i32
impl ToSql for i64
impl ToSql for u8
impl ToSql for u16
impl ToSql for u32
impl ToSql for f64
impl<'a, T: ?Sized> ToSql for &'a T where &'a T: Into<ToSqlOutput<'a>>
impl ToSql for String
impl ToSql for Vec<u8>
impl ToSql for Value
impl<T: ToSql> ToSql for Option<T>
impl ToSql for Timespec
impl ToSql for NaiveDate
impl ToSql for NaiveTime
impl ToSql for NaiveDateTime
impl<Tz: TimeZone> ToSql for DateTime<Tz>