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
Sourceยงtype Connection = MssqlConnection
type Connection = MssqlConnection
The concrete
Connection
implementation for this database.Sourceยงtype TransactionManager = MssqlTransactionManager
type TransactionManager = MssqlTransactionManager
The concrete
TransactionManager
implementation for this database.Sourceยงtype QueryResult = MssqlQueryResult
type QueryResult = MssqlQueryResult
The concrete
QueryResult
implementation for this database.Sourceยงtype Column = MssqlColumn
type Column = MssqlColumn
The concrete
Column
implementation for this database.Sourceยงtype TypeInfo = MssqlTypeInfo
type TypeInfo = MssqlTypeInfo
The concrete
TypeInfo
implementation for this database.Sourceยง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 Decode<'_, Mssql> for BigDecimal
impl Decode<'_, Mssql> for BigDecimal
Sourceยงfn decode(
value: MssqlValueRef<'_>,
) -> Result<BigDecimal, Box<dyn Error + Send + Sync>>
fn decode( value: MssqlValueRef<'_>, ) -> Result<BigDecimal, Box<dyn Error + Send + Sync>>
Decode a new value of this type using a raw value from the database.
Sourceยงimpl Decode<'_, Mssql> for NaiveDateTime
Decodes DateTime2N values received from the server
impl Decode<'_, Mssql> for NaiveDateTime
Decodes DateTime2N values received from the server
Sourceยงfn decode(
value: MssqlValueRef<'_>,
) -> Result<NaiveDateTime, Box<dyn Error + Send + Sync>>
fn decode( value: MssqlValueRef<'_>, ) -> Result<NaiveDateTime, Box<dyn Error + Send + Sync>>
Decode a new value of this type using a raw value from the database.
Sourceยงimpl Encode<'_, Mssql> for &[u8]
impl Encode<'_, Mssql> for &[u8]
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 &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 BigDecimal
impl Encode<'_, Mssql> for BigDecimal
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<'r> Encode<'_, Mssql> for Cow<'r, [u8]>
impl<'r> Encode<'_, Mssql> for Cow<'r, [u8]>
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<T> Encode<'_, Mssql> for DateTime<T>where
T: TimeZone,
impl<T> Encode<'_, Mssql> for DateTime<T>where
T: TimeZone,
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 Decimal
impl Encode<'_, Mssql> for Decimal
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<T> Encode<'_, Mssql> for Json<T>where
T: Serialize,
impl<T> Encode<'_, Mssql> for Json<T>where
T: Serialize,
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 NaiveDate
Encodes Date objects for transfer over the wire
impl Encode<'_, Mssql> for NaiveDate
Encodes Date objects for transfer over the wire
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 NaiveDateTime
Encodes DateTime objects for transfer over the wire
impl Encode<'_, Mssql> for NaiveDateTime
Encodes DateTime objects for transfer over the wire
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 NaiveTime
Encodes Time objects for transfer over the wire
impl Encode<'_, Mssql> for NaiveTime
Encodes Time objects for transfer over the wire
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 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 Vec<u8>
impl Encode<'_, Mssql> for Vec<u8>
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 u16
impl Encode<'_, Mssql> for u16
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 u32
impl Encode<'_, Mssql> for u32
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 u64
impl Encode<'_, Mssql> for u64
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>
impl<'q, T> Encode<'q, Mssql> for Option<T>
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 [u8]
impl Type<Mssql> for [u8]
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 BigDecimal
impl Type<Mssql> for BigDecimal
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 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<'r> Type<Mssql> for Cow<'r, [u8]>
impl<'r> Type<Mssql> for Cow<'r, [u8]>
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<T> Type<Mssql> for DateTime<T>where
T: TimeZone,
impl<T> Type<Mssql> for DateTime<T>where
T: TimeZone,
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 Decimal
impl Type<Mssql> for Decimal
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<T> Type<Mssql> for Json<T>
impl<T> Type<Mssql> for Json<T>
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 NaiveDate
Provides conversion of chrono::NaiveDate to MS SQL Date
impl Type<Mssql> for NaiveDate
Provides conversion of chrono::NaiveDate to MS SQL Date
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 NaiveDateTime
Provides conversion of chrono::DateTime (UTC) to MS SQL DateTime2N
impl Type<Mssql> for NaiveDateTime
Provides conversion of chrono::DateTime (UTC) to MS SQL DateTime2N
Note that MS SQL has a number of DateTime-related types and conversion might not work. During encoding, values are always encoded with the best possible precision, which uses 7 digits for nanoseconds.
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 NaiveTime
Provides conversion of chrono::NaiveTime to MS SQL Time
impl Type<Mssql> for NaiveTime
Provides conversion of chrono::NaiveTime to MS SQL Time
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 Vec<u8>
impl Type<Mssql> for Vec<u8>
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
Sourceยงimpl Type<Mssql> for str
impl Type<Mssql> for 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 u16
impl Type<Mssql> for u16
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 u32
impl Type<Mssql> for u32
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
Auto Trait Implementationsยง
impl Freeze for Mssql
impl RefUnwindSafe for Mssql
impl Send for Mssql
impl Sync for Mssql
impl Unpin for Mssql
impl UnwindSafe for Mssql
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self> โ
fn into_either(self, into_left: bool) -> Either<Self, Self> โ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self> โ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> โ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more