Struct sqlx_core_oldapi::mssql::Mssql  
source · pub struct Mssql;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 Decode<'_, Mssql> for BigDecimal
 
impl Decode<'_, Mssql> for BigDecimal
source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
 
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
source§impl Decode<'_, Mssql> for DateTime<FixedOffset>
 
impl Decode<'_, Mssql> for DateTime<FixedOffset>
source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
 
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
source§impl Decode<'_, Mssql> for DateTime<Utc>
 
impl Decode<'_, Mssql> for DateTime<Utc>
source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
 
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
source§impl Decode<'_, Mssql> for Decimal
 
impl Decode<'_, Mssql> for Decimal
source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
 
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
source§impl Decode<'_, Mssql> for NaiveDate
 
impl Decode<'_, Mssql> for NaiveDate
Decodes Date values received from the server
source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
 
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
source§impl Decode<'_, Mssql> for NaiveDateTime
 
impl Decode<'_, Mssql> for NaiveDateTime
Decodes DateTime2N values received from the server
source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
 
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
source§impl Decode<'_, Mssql> for NaiveTime
 
impl Decode<'_, Mssql> for NaiveTime
Decodes Time values received from the server
source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
 
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
source§impl Decode<'_, Mssql> for String
 
impl Decode<'_, Mssql> for String
source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
 
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
source§impl Decode<'_, Mssql> for Vec<u8>
 
impl Decode<'_, Mssql> for Vec<u8>
source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
 
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
source§impl Decode<'_, Mssql> for bool
 
impl Decode<'_, Mssql> for bool
source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
 
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
source§impl Decode<'_, Mssql> for f32
 
impl Decode<'_, Mssql> for f32
source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
 
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
source§impl Decode<'_, Mssql> for f64
 
impl Decode<'_, Mssql> for f64
source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
 
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
source§impl Decode<'_, Mssql> for i16
 
impl Decode<'_, Mssql> for i16
source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
 
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
source§impl Decode<'_, Mssql> for i32
 
impl Decode<'_, Mssql> for i32
source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
 
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
source§impl Decode<'_, Mssql> for i64
 
impl Decode<'_, Mssql> for i64
source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
 
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
source§impl Decode<'_, Mssql> for i8
 
impl Decode<'_, Mssql> for i8
source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
 
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
source§impl Decode<'_, Mssql> for u8
 
impl Decode<'_, Mssql> for u8
source§fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
 
fn decode(value: MssqlValueRef<'_>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
source§impl<'r> Decode<'r, Mssql> for &'r [u8]
 
impl<'r> Decode<'r, Mssql> for &'r [u8]
source§fn decode(value: MssqlValueRef<'r>) -> Result<Self, BoxDynError>
 
fn decode(value: MssqlValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
source§impl<'r> Decode<'r, Mssql> for Cow<'r, [u8]>
 
impl<'r> Decode<'r, Mssql> for Cow<'r, [u8]>
source§fn decode(value: MssqlValueRef<'r>) -> Result<Self, BoxDynError>
 
fn decode(value: MssqlValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
source§impl<'r> Decode<'r, Mssql> for Cow<'r, str>
 
impl<'r> Decode<'r, Mssql> for Cow<'r, str>
source§fn decode(value: MssqlValueRef<'r>) -> Result<Self, BoxDynError>
 
fn decode(value: MssqlValueRef<'r>) -> Result<Self, BoxDynError>
Decode a new value of this type using a raw value from the database.
source§impl<'r, T> Decode<'r, Mssql> for Json<T>where
    T: Deserialize<'r> + 'r,
 
impl<'r, T> Decode<'r, Mssql> for Json<T>where T: Deserialize<'r> + 'r,
source§fn decode(value: MssqlValueRef<'r>) -> Result<Self, BoxDynError>
 
fn decode(value: MssqlValueRef<'r>) -> Result<Self, BoxDynError>
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::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 Encode<'_, Mssql> for NaiveDate
 
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::TypeInfo>
fn size_hint(&self) -> usize
source§impl Encode<'_, Mssql> for NaiveDateTime
 
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::TypeInfo>
fn size_hint(&self) -> usize
source§impl Encode<'_, Mssql> for NaiveTime
 
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::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::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::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::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::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::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::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::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::TypeInfo>
fn size_hint(&self) -> usize
source§impl<'q, T> Encode<'q, Mssql> for Json<T>where
    T: Serialize,
 
impl<'q, T> Encode<'q, 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<'q, T: 'q + Encode<'q, Mssql>> Encode<'q, Mssql> for Option<T>
 
impl<'q, T: 'q + Encode<'q, Mssql>> 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
 
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
 
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
 
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
Auto Trait Implementations§
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