[−][src]Trait rusqlite::ToSql
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 NaiveDate
[src]
ISO 8601 calendar date without timezone => "YYYY-MM-DD"
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
impl ToSql for NaiveTime
[src]
ISO 8601 time without timezone => "HH:MM:SS.SSS"
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
impl ToSql for NaiveDateTime
[src]
ISO 8601 combined date and time without timezone => "YYYY-MM-DD HH:MM:SS.SSS"
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
impl<Tz: TimeZone> ToSql for DateTime<Tz>
[src]
Date and time with time zone => UTC RFC3339 timestamp ("YYYY-MM-DDTHH:MM:SS.SSS+00:00").
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
impl ToSql for Value
[src]
Serialize JSON Value
to text.
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
impl ToSql for Timespec
[src]
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
impl ToSql for Box<dyn ToSql>
[src]
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
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<T: ?Sized, '_> ToSql for &'_ T where
T: ToSql,
[src]
T: ToSql,
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 Cow<'_, str>
[src]
fn to_sql(&self) -> Result<ToSqlOutput>
[src]
impl ToSql for Url
[src]
Serialize Url
to text.