[−][src]Struct sqlx::MySql
MySQL database driver.
Trait Implementations
impl Database for MySql
[src]
type Connection = MySqlConnection
The concrete Connection
implementation for this database.
type Arguments = MySqlArguments
The concrete Arguments
implementation for this database.
type Row = MySqlRow
The concrete Row
implementation for this database.
type TypeInfo = MySqlTypeInfo
The concrete TypeInfo
implementation for this database.
type TableId = Box<str>
The Rust type of table identifiers for this database.
impl Encode<MySql> for [u8]
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl Encode<MySql> for f32
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl Encode<MySql> for str
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl Encode<MySql> for u32
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl Encode<MySql> for NaiveTime
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn size_hint(&self) -> usize
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
impl Encode<MySql> for NaiveDateTime
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn size_hint(&self) -> usize
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
impl Encode<MySql> for f64
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl Encode<MySql> for i16
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl Encode<MySql> for i8
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl Encode<MySql> for Vec<u8>
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl Encode<MySql> for NaiveDate
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn size_hint(&self) -> usize
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
impl Encode<MySql> for bool
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl Encode<MySql> for String
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl Encode<MySql> for DateTime<Utc>
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl Encode<MySql> for i64
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl Encode<MySql> for u64
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl Encode<MySql> for i32
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl Encode<MySql> for u8
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl Encode<MySql> for u16
[src]
fn encode(&self, buf: &mut Vec<u8>)
[src]
fn encode_nullable(&self, buf: &mut Vec<u8>) -> IsNull
[src]
fn size_hint(&self) -> usize
[src]
impl HasSqlType<[u8]> for MySql
[src]
fn type_info() -> MySqlTypeInfo
[src]
impl HasSqlType<DateTime<Utc>> for MySql
[src]
fn type_info() -> MySqlTypeInfo
[src]
impl HasSqlType<NaiveDate> for MySql
[src]
fn type_info() -> MySqlTypeInfo
[src]
impl HasSqlType<NaiveDateTime> for MySql
[src]
fn type_info() -> MySqlTypeInfo
[src]
impl HasSqlType<NaiveTime> for MySql
[src]
fn type_info() -> MySqlTypeInfo
[src]
impl HasSqlType<String> for MySql
[src]
fn type_info() -> MySqlTypeInfo
[src]
impl HasSqlType<Vec<u8>> for MySql
[src]
fn type_info() -> MySqlTypeInfo
[src]
impl HasSqlType<bool> for MySql
[src]
fn type_info() -> MySqlTypeInfo
[src]
impl HasSqlType<f32> for MySql
[src]
fn type_info() -> MySqlTypeInfo
[src]
impl HasSqlType<f64> for MySql
[src]
fn type_info() -> MySqlTypeInfo
[src]
impl HasSqlType<i16> for MySql
[src]
fn type_info() -> MySqlTypeInfo
[src]
impl HasSqlType<i32> for MySql
[src]
fn type_info() -> MySqlTypeInfo
[src]
impl HasSqlType<i64> for MySql
[src]
fn type_info() -> MySqlTypeInfo
[src]
impl HasSqlType<i8> for MySql
[src]
fn type_info() -> MySqlTypeInfo
[src]
impl HasSqlType<str> for MySql
[src]
fn type_info() -> MySqlTypeInfo
[src]
impl HasSqlType<u16> for MySql
[src]
fn type_info() -> MySqlTypeInfo
[src]
impl HasSqlType<u32> for MySql
[src]
fn type_info() -> MySqlTypeInfo
[src]
impl HasSqlType<u64> for MySql
[src]
fn type_info() -> MySqlTypeInfo
[src]
impl HasSqlType<u8> for MySql
[src]
fn type_info() -> MySqlTypeInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for MySql
impl Send for MySql
impl Sync for MySql
impl Unpin for MySql
impl UnwindSafe for MySql
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<'_, T, DB> HasSqlType<&'_ T> for DB where
DB: HasSqlType<T>,
T: ?Sized,
[src]
DB: HasSqlType<T>,
T: ?Sized,
impl<T, DB> HasSqlType<Option<T>> for DB where
DB: HasSqlType<T>,
[src]
DB: HasSqlType<T>,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,