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>
Implementations on Foreign Types
impl ToSql for bool
[src]
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
impl ToSql for i8
[src]
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
impl ToSql for i16
[src]
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
impl ToSql for i32
[src]
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
impl ToSql for i64
[src]
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
impl ToSql for isize
[src]
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
impl ToSql for u8
[src]
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
impl ToSql for u16
[src]
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
impl ToSql for u32
[src]
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
impl ToSql for f64
[src]
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
impl<'a, T: ?Sized> ToSql for &'a T where
&'a T: Into<ToSqlOutput<'a>>,
[src]
&'a T: Into<ToSqlOutput<'a>>,
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
impl ToSql for String
[src]
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
impl ToSql for str
[src]
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
impl ToSql for Vec<u8>
[src]
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
impl ToSql for [u8]
[src]
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
impl<T: ToSql> ToSql for Option<T>
[src]
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
impl ToSql for Timespec
[src]
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
Implementors
impl<'a> ToSql for ToSqlOutput<'a>
impl ToSql for Null
impl ToSql for Value