Trait tiberius::IntoSql

source ·
pub trait IntoSql<'a>: Send + Sync {
    // Required method
    fn into_sql(self) -> ColumnData<'a>;
}
Expand description

A by-value conversion trait to a TDS type.

Required Methods§

source

fn into_sql(self) -> ColumnData<'a>

Convert to a value understood by the SQL Server. Conversion by-value.

Implementations on Foreign Types§

source§

impl<'a> IntoSql<'a> for &'a str

source§

impl<'a> IntoSql<'a> for &'a String

source§

impl<'a> IntoSql<'a> for &'a Vec<u8>

source§

impl<'a> IntoSql<'a> for &'a [u8]

source§

impl<'a> IntoSql<'a> for Cow<'a, str>

source§

impl<'a> IntoSql<'a> for Cow<'a, [u8]>

source§

impl<'a> IntoSql<'a> for Option<&'a str>

source§

impl<'a> IntoSql<'a> for Option<&'a String>

source§

impl<'a> IntoSql<'a> for Option<&'a Vec<u8>>

source§

impl<'a> IntoSql<'a> for Option<&'a Uuid>

source§

impl<'a> IntoSql<'a> for Option<&'a XmlData>

source§

impl<'a> IntoSql<'a> for Option<&'a [u8]>

source§

impl<'a> IntoSql<'a> for Option<Cow<'a, str>>

source§

impl<'a> IntoSql<'a> for Option<Cow<'a, [u8]>>

source§

impl<'a> IntoSql<'a> for Option<bool>

source§

impl<'a> IntoSql<'a> for Option<f32>

source§

impl<'a> IntoSql<'a> for Option<f64>

source§

impl<'a> IntoSql<'a> for Option<i16>

source§

impl<'a> IntoSql<'a> for Option<i32>

source§

impl<'a> IntoSql<'a> for Option<i64>

source§

impl<'a> IntoSql<'a> for Option<u8>

source§

impl<'a> IntoSql<'a> for Option<String>

source§

impl<'a> IntoSql<'a> for Option<Vec<u8>>

source§

impl<'a> IntoSql<'a> for Option<Numeric>

source§

impl<'a> IntoSql<'a> for Option<Uuid>

source§

impl<'a> IntoSql<'a> for Option<XmlData>

source§

impl<'a> IntoSql<'a> for bool

source§

impl<'a> IntoSql<'a> for f32

source§

impl<'a> IntoSql<'a> for f64

source§

impl<'a> IntoSql<'a> for i16

source§

impl<'a> IntoSql<'a> for i32

source§

impl<'a> IntoSql<'a> for i64

source§

impl<'a> IntoSql<'a> for u8

source§

impl<'a> IntoSql<'a> for String

source§

impl<'a> IntoSql<'a> for Vec<u8>

Implementors§

source§

impl<'a> IntoSql<'a> for &'a Uuid

source§

impl<'a> IntoSql<'a> for &'a XmlData

source§

impl<'a> IntoSql<'a> for Numeric

source§

impl<'a> IntoSql<'a> for Uuid

source§

impl<'a> IntoSql<'a> for XmlData