Struct sqlx::MySql[][src]

pub struct MySql;
This is supported on crate feature mysql only.

MySQL database driver.

Trait Implementations

impl Database for MySql[src]

type Connection = MySqlConnection

The concrete Connection implementation for this database.

type TransactionManager = MySqlTransactionManager

The concrete TransactionManager implementation for this database.

type Row = MySqlRow

The concrete Row implementation for this database.

type QueryResult = MySqlQueryResult

The concrete QueryResult implementation for this database.

type Column = MySqlColumn

The concrete Column implementation for this database.

type TypeInfo = MySqlTypeInfo

The concrete TypeInfo implementation for this database.

type Value = MySqlValue

The concrete type used to hold an owned copy of the not-yet-decoded value that was received from the database. Read more

impl Debug for MySql[src]

impl<'_> Decode<'_, MySql> for u64[src]

impl<'_> Decode<'_, MySql> for BigDecimal[src]

impl<'_> Decode<'_, MySql> for f64[src]

impl<'_> Decode<'_, MySql> for i32[src]

impl<'_> Decode<'_, MySql> for u8[src]

impl<'_> Decode<'_, MySql> for Hyphenated[src]

impl<'_> Decode<'_, MySql> for Vec<u8, Global>[src]

impl<'_> Decode<'_, MySql> for i16[src]

impl<'_> Decode<'_, MySql> for Uuid[src]

impl<'_> Decode<'_, MySql> for String[src]

impl<'_> Decode<'_, MySql> for i8[src]

impl<'_> Decode<'_, MySql> for Decimal[src]

impl<'_> Decode<'_, MySql> for bool[src]

impl<'_> Decode<'_, MySql> for i64[src]

impl<'_> Decode<'_, MySql> for u32[src]

impl<'_> Decode<'_, MySql> for u16[src]

impl<'_> Decode<'_, MySql> for f32[src]

impl<'r> Decode<'r, MySql> for DateTime<Utc>[src]

impl<'r> Decode<'r, MySql> for Date[src]

impl<'r> Decode<'r, MySql> for NaiveTime[src]

impl<'r> Decode<'r, MySql> for &'r str[src]

impl<'r> Decode<'r, MySql> for &'r [u8][src]

impl<'r, T> Decode<'r, MySql> for Json<T> where
    T: 'r + Deserialize<'r>, 
[src]

impl<'r> Decode<'r, MySql> for NaiveDate[src]

impl<'r> Decode<'r, MySql> for PrimitiveDateTime[src]

impl<'r> Decode<'r, MySql> for NaiveDateTime[src]

impl<'r> Decode<'r, MySql> for Time[src]

impl<'r> Decode<'r, MySql> for OffsetDateTime[src]

impl<'_> Encode<'_, MySql> for i16[src]

impl<'_> Encode<'_, MySql> for u32[src]

impl<'_> Encode<'_, MySql> for NaiveTime[src]

impl<'_> Encode<'_, MySql> for DateTime<Utc>[src]

impl<'_> Encode<'_, MySql> for i64[src]

impl<'_> Encode<'_, MySql> for u64[src]

impl<'_> Encode<'_, MySql> for f64[src]

impl<'_> Encode<'_, MySql> for Time[src]

impl<'_> Encode<'_, MySql> for i8[src]

impl<'_, '_> Encode<'_, MySql> for &'_ [u8][src]

impl<'_> Encode<'_, MySql> for PrimitiveDateTime[src]

impl<'_> Encode<'_, MySql> for f32[src]

impl<'_> Encode<'_, MySql> for i32[src]

impl<'_> Encode<'_, MySql> for String[src]

impl<'_> Encode<'_, MySql> for u8[src]

impl<'_> Encode<'_, MySql> for OffsetDateTime[src]

impl<'_> Encode<'_, MySql> for Vec<u8, Global>[src]

impl<'_, '_> Encode<'_, MySql> for &'_ str[src]

impl<'_> Encode<'_, MySql> for Hyphenated[src]

impl<'_> Encode<'_, MySql> for Date[src]

impl<'_> Encode<'_, MySql> for u16[src]

impl<'_> Encode<'_, MySql> for NaiveDate[src]

impl<'_> Encode<'_, MySql> for Decimal[src]

impl<'_, T> Encode<'_, MySql> for Json<T> where
    T: Serialize
[src]

impl<'_> Encode<'_, MySql> for BigDecimal[src]

impl<'_> Encode<'_, MySql> for Uuid[src]

impl<'_> Encode<'_, MySql> for NaiveDateTime[src]

impl<'_> Encode<'_, MySql> for bool[src]

impl<'q, T> Encode<'q, MySql> for Option<T> where
    T: Encode<'q, MySql> + Type<MySql> + 'q, 
[src]

impl<'_> HasArguments<'_> for MySql[src]

type Database = MySql

type Arguments = MySqlArguments

The concrete Arguments implementation for this database.

type ArgumentBuffer = Vec<u8, Global>

The concrete type used as a buffer for arguments while encoding.

impl<'q> HasStatement<'q> for MySql[src]

type Database = MySql

type Statement = MySqlStatement<'q>

The concrete Statement implementation for this database.

impl HasStatementCache for MySql[src]

impl<'r> HasValueRef<'r> for MySql[src]

type Database = MySql

type ValueRef = MySqlValueRef<'r>

The concrete type used to hold a reference to the not-yet-decoded value that has just been received from the database. Read more

impl MigrateDatabase for MySql[src]

impl Type<MySql> for Uuid[src]

impl Type<MySql> for DateTime<Utc>[src]

impl Type<MySql> for str[src]

impl Type<MySql> for PrimitiveDateTime[src]

impl Type<MySql> for u64[src]

impl Type<MySql> for Time[src]

impl Type<MySql> for NaiveDateTime[src]

impl Type<MySql> for NaiveDate[src]

impl Type<MySql> for u32[src]

impl Type<MySql> for BigDecimal[src]

impl Type<MySql> for String[src]

impl Type<MySql> for u16[src]

impl Type<MySql> for Date[src]

impl Type<MySql> for i8[src]

impl Type<MySql> for OffsetDateTime[src]

impl Type<MySql> for [u8][src]

impl Type<MySql> for f64[src]

impl Type<MySql> for Vec<u8, Global>[src]

impl<T> Type<MySql> for Json<T>[src]

impl Type<MySql> for f32[src]

impl Type<MySql> for i64[src]

impl Type<MySql> for NaiveTime[src]

impl Type<MySql> for u8[src]

impl Type<MySql> for bool[src]

impl Type<MySql> for i32[src]

impl Type<MySql> for Hyphenated[src]

impl Type<MySql> for i16[src]

impl Type<MySql> for Decimal[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,