pub struct Mssql;
Available on crate feature
mssql
only.Expand description
MSSQL database driver.
Trait Implementationsยง
sourceยงimpl Database for Mssql
impl Database for Mssql
ยงtype Connection = MssqlConnection
type Connection = MssqlConnection
The concrete
Connection
implementation for this database.ยงtype TransactionManager = MssqlTransactionManager
type TransactionManager = MssqlTransactionManager
The concrete
TransactionManager
implementation for this database.ยงtype QueryResult = MssqlQueryResult
type QueryResult = MssqlQueryResult
The concrete
QueryResult
implementation for this database.ยงtype Column = MssqlColumn
type Column = MssqlColumn
The concrete
Column
implementation for this database.ยงtype TypeInfo = MssqlTypeInfo
type TypeInfo = MssqlTypeInfo
The concrete
TypeInfo
implementation for this database.ยงtype Value = MssqlValue
type Value = MssqlValue
The concrete type used to hold an owned copy of the not-yet-decoded value that was
received from the database.
sourceยงimpl Encode<'_, Mssql> for &str
impl Encode<'_, Mssql> for &str
fn produces(&self) -> Option<MssqlTypeInfo>
sourceยงfn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere Self: Sized,
Writes the value of
self
into buf
in the expected format for the database.fn size_hint(&self) -> usize
sourceยงimpl Encode<'_, Mssql> for Cow<'_, str>
impl Encode<'_, Mssql> for Cow<'_, str>
fn produces(&self) -> Option<MssqlTypeInfo>
sourceยงfn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere Self: Sized,
Writes the value of
self
into buf
in the expected format for the database.fn size_hint(&self) -> usize
sourceยงimpl Encode<'_, Mssql> for String
impl Encode<'_, Mssql> for String
fn produces(&self) -> Option<MssqlTypeInfo>
sourceยงfn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere Self: Sized,
Writes the value of
self
into buf
in the expected format for the database.fn size_hint(&self) -> usize
sourceยงimpl Encode<'_, Mssql> for bool
impl Encode<'_, Mssql> for bool
sourceยงfn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere Self: Sized,
Writes the value of
self
into buf
in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceยงimpl Encode<'_, Mssql> for f32
impl Encode<'_, Mssql> for f32
sourceยงfn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere Self: Sized,
Writes the value of
self
into buf
in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceยงimpl Encode<'_, Mssql> for f64
impl Encode<'_, Mssql> for f64
sourceยงfn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere Self: Sized,
Writes the value of
self
into buf
in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceยงimpl Encode<'_, Mssql> for i16
impl Encode<'_, Mssql> for i16
sourceยงfn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere Self: Sized,
Writes the value of
self
into buf
in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceยงimpl Encode<'_, Mssql> for i32
impl Encode<'_, Mssql> for i32
sourceยงfn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere Self: Sized,
Writes the value of
self
into buf
in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceยงimpl Encode<'_, Mssql> for i64
impl Encode<'_, Mssql> for i64
sourceยงfn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere Self: Sized,
Writes the value of
self
into buf
in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceยงimpl Encode<'_, Mssql> for i8
impl Encode<'_, Mssql> for i8
sourceยงfn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere Self: Sized,
Writes the value of
self
into buf
in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceยงimpl Encode<'_, Mssql> for u8
impl Encode<'_, Mssql> for u8
sourceยงfn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere Self: Sized,
Writes the value of
self
into buf
in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
fn size_hint(&self) -> usize
sourceยงimpl<'q, T> Encode<'q, Mssql> for Option<T>where
T: 'q + Encode<'q, Mssql>,
impl<'q, T> Encode<'q, Mssql> for Option<T>where T: 'q + Encode<'q, Mssql>,
sourceยงimpl HasArguments<'_> for Mssql
impl HasArguments<'_> for Mssql
sourceยงimpl<'q> HasStatement<'q> for Mssql
impl<'q> HasStatement<'q> for Mssql
sourceยงimpl<'r> HasValueRef<'r> for Mssql
impl<'r> HasValueRef<'r> for Mssql
sourceยงimpl Type<Mssql> for Cow<'_, str>
impl Type<Mssql> for Cow<'_, str>
sourceยงfn type_info() -> MssqlTypeInfo
fn type_info() -> MssqlTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourceยงfn compatible(ty: &MssqlTypeInfo) -> bool
fn compatible(ty: &MssqlTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceยงimpl Type<Mssql> for String
impl Type<Mssql> for String
sourceยงfn type_info() -> MssqlTypeInfo
fn type_info() -> MssqlTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourceยงfn compatible(ty: &MssqlTypeInfo) -> bool
fn compatible(ty: &MssqlTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceยงimpl Type<Mssql> for bool
impl Type<Mssql> for bool
sourceยงfn type_info() -> MssqlTypeInfo
fn type_info() -> MssqlTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourceยงfn compatible(ty: &MssqlTypeInfo) -> bool
fn compatible(ty: &MssqlTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceยงimpl Type<Mssql> for f32
impl Type<Mssql> for f32
sourceยงfn type_info() -> MssqlTypeInfo
fn type_info() -> MssqlTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourceยงfn compatible(ty: &MssqlTypeInfo) -> bool
fn compatible(ty: &MssqlTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceยงimpl Type<Mssql> for f64
impl Type<Mssql> for f64
sourceยงfn type_info() -> MssqlTypeInfo
fn type_info() -> MssqlTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourceยงfn compatible(ty: &MssqlTypeInfo) -> bool
fn compatible(ty: &MssqlTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceยงimpl Type<Mssql> for i16
impl Type<Mssql> for i16
sourceยงfn type_info() -> MssqlTypeInfo
fn type_info() -> MssqlTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourceยงfn compatible(ty: &MssqlTypeInfo) -> bool
fn compatible(ty: &MssqlTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceยงimpl Type<Mssql> for i32
impl Type<Mssql> for i32
sourceยงfn type_info() -> MssqlTypeInfo
fn type_info() -> MssqlTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourceยงfn compatible(ty: &MssqlTypeInfo) -> bool
fn compatible(ty: &MssqlTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceยงimpl Type<Mssql> for i64
impl Type<Mssql> for i64
sourceยงfn type_info() -> MssqlTypeInfo
fn type_info() -> MssqlTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourceยงfn compatible(ty: &MssqlTypeInfo) -> bool
fn compatible(ty: &MssqlTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more
sourceยงimpl Type<Mssql> for i8
impl Type<Mssql> for i8
sourceยงfn type_info() -> MssqlTypeInfo
fn type_info() -> MssqlTypeInfo
Returns the canonical SQL type for this Rust type. Read more
sourceยงfn compatible(ty: &MssqlTypeInfo) -> bool
fn compatible(ty: &MssqlTypeInfo) -> bool
Determines if this Rust type is compatible with the given SQL type. Read more