[−][src]Struct sqlx_core::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.
impl Decode<MySql> for bool
[src]
fn decode(buf: &[u8]) -> Result<Self, DecodeError>
[src]
fn decode_null() -> Result<Self, DecodeError>
[src]
fn decode_nullable(raw: Option<&[u8]>) -> Result<Self, DecodeError>
[src]
impl Decode<MySql> for Vec<u8>
[src]
fn decode(buf: &[u8]) -> Result<Self, DecodeError>
[src]
fn decode_null() -> Result<Self, DecodeError>
[src]
fn decode_nullable(raw: Option<&[u8]>) -> Result<Self, DecodeError>
[src]
impl Decode<MySql> for u16
[src]
fn decode(buf: &[u8]) -> Result<Self, DecodeError>
[src]
fn decode_null() -> Result<Self, DecodeError>
[src]
fn decode_nullable(raw: Option<&[u8]>) -> Result<Self, DecodeError>
[src]
impl Decode<MySql> for u32
[src]
fn decode(buf: &[u8]) -> Result<Self, DecodeError>
[src]
fn decode_null() -> Result<Self, DecodeError>
[src]
fn decode_nullable(raw: Option<&[u8]>) -> Result<Self, DecodeError>
[src]
impl Decode<MySql> for u64
[src]
fn decode(buf: &[u8]) -> Result<Self, DecodeError>
[src]
fn decode_null() -> Result<Self, DecodeError>
[src]
fn decode_nullable(raw: Option<&[u8]>) -> Result<Self, DecodeError>
[src]
impl Decode<MySql> for DateTime<Utc>
[src]
fn decode(buf: &[u8]) -> Result<Self, DecodeError>
[src]
fn decode_null() -> Result<Self, DecodeError>
[src]
fn decode_nullable(raw: Option<&[u8]>) -> Result<Self, DecodeError>
[src]
impl Decode<MySql> for NaiveTime
[src]
fn decode(buf: &[u8]) -> Result<Self, DecodeError>
[src]
fn decode_null() -> Result<Self, DecodeError>
[src]
fn decode_nullable(raw: Option<&[u8]>) -> Result<Self, DecodeError>
[src]
impl Decode<MySql> for NaiveDate
[src]
fn decode(buf: &[u8]) -> Result<Self, DecodeError>
[src]
fn decode_null() -> Result<Self, DecodeError>
[src]
fn decode_nullable(raw: Option<&[u8]>) -> Result<Self, DecodeError>
[src]
impl Decode<MySql> for NaiveDateTime
[src]
fn decode(buf: &[u8]) -> Result<Self, DecodeError>
[src]
fn decode_null() -> Result<Self, DecodeError>
[src]
fn decode_nullable(raw: Option<&[u8]>) -> Result<Self, DecodeError>
[src]
impl Decode<MySql> for f32
[src]
fn decode(buf: &[u8]) -> Result<Self, DecodeError>
[src]
fn decode_null() -> Result<Self, DecodeError>
[src]
fn decode_nullable(raw: Option<&[u8]>) -> Result<Self, DecodeError>
[src]
impl Decode<MySql> for f64
[src]
fn decode(buf: &[u8]) -> Result<Self, DecodeError>
[src]
fn decode_null() -> Result<Self, DecodeError>
[src]
fn decode_nullable(raw: Option<&[u8]>) -> Result<Self, DecodeError>
[src]
impl Decode<MySql> for i8
[src]
fn decode(buf: &[u8]) -> Result<Self, DecodeError>
[src]
fn decode_null() -> Result<Self, DecodeError>
[src]
fn decode_nullable(raw: Option<&[u8]>) -> Result<Self, DecodeError>
[src]
impl Decode<MySql> for i16
[src]
fn decode(buf: &[u8]) -> Result<Self, DecodeError>
[src]
fn decode_null() -> Result<Self, DecodeError>
[src]
fn decode_nullable(raw: Option<&[u8]>) -> Result<Self, DecodeError>
[src]
impl Decode<MySql> for i32
[src]
fn decode(buf: &[u8]) -> Result<Self, DecodeError>
[src]
fn decode_null() -> Result<Self, DecodeError>
[src]
fn decode_nullable(raw: Option<&[u8]>) -> Result<Self, DecodeError>
[src]
impl Decode<MySql> for i64
[src]
fn decode(buf: &[u8]) -> Result<Self, DecodeError>
[src]
fn decode_null() -> Result<Self, DecodeError>
[src]
fn decode_nullable(raw: Option<&[u8]>) -> Result<Self, DecodeError>
[src]
impl Decode<MySql> for String
[src]
fn decode(buf: &[u8]) -> Result<Self, DecodeError>
[src]
fn decode_null() -> Result<Self, DecodeError>
[src]
fn decode_nullable(raw: Option<&[u8]>) -> Result<Self, DecodeError>
[src]
impl Decode<MySql> for u8
[src]
fn decode(buf: &[u8]) -> Result<Self, DecodeError>
[src]
fn decode_null() -> Result<Self, DecodeError>
[src]
fn decode_nullable(raw: Option<&[u8]>) -> Result<Self, DecodeError>
[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 [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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 HasSqlType<[u8]> for MySql
[src]
impl HasSqlType<DateTime<Utc>> for MySql
[src]
fn metadata() -> Self::TypeMetadata
[src]
impl HasSqlType<NaiveDate> for MySql
[src]
fn metadata() -> Self::TypeMetadata
[src]
impl HasSqlType<NaiveDateTime> for MySql
[src]
fn metadata() -> Self::TypeMetadata
[src]
impl HasSqlType<NaiveTime> for MySql
[src]
fn metadata() -> Self::TypeMetadata
[src]
impl HasSqlType<String> for MySql
[src]
impl HasSqlType<Vec<u8>> for MySql
[src]
impl HasSqlType<bool> for MySql
[src]
impl HasSqlType<f32> for MySql
[src]
impl HasSqlType<f64> for MySql
[src]
impl HasSqlType<i16> for MySql
[src]
impl HasSqlType<i32> for MySql
[src]
impl HasSqlType<i64> for MySql
[src]
impl HasSqlType<i8> for MySql
[src]
impl HasSqlType<str> for MySql
[src]
impl HasSqlType<u16> for MySql
[src]
impl HasSqlType<u32> for MySql
[src]
impl HasSqlType<u64> for MySql
[src]
impl HasSqlType<u8> for MySql
[src]
impl HasTypeMetadata for MySql
[src]
type TypeMetadata = MySqlTypeMetadata
The actual type used to represent metadata.
type TableId = Box<str>
The Rust type of table identifiers.
type TypeId = u8
The Rust type of type identifiers.
impl IntoArguments<MySql> for ()
[src]
fn into_arguments(self) -> <MySql as Database>::Arguments
[src]
impl<T1> IntoArguments<MySql> for (T1,) where
MySql: HasSqlType<T1>,
T1: Encode<MySql>,
[src]
MySql: HasSqlType<T1>,
T1: Encode<MySql>,
fn into_arguments(self) -> <MySql as Database>::Arguments
[src]
impl<T1, T2> IntoArguments<MySql> for (T1, T2) where
MySql: HasSqlType<T1>,
MySql: HasSqlType<T2>,
T1: Encode<MySql>,
T2: Encode<MySql>,
[src]
MySql: HasSqlType<T1>,
MySql: HasSqlType<T2>,
T1: Encode<MySql>,
T2: Encode<MySql>,
fn into_arguments(self) -> <MySql as Database>::Arguments
[src]
impl<T1, T2, T3> IntoArguments<MySql> for (T1, T2, T3) where
MySql: HasSqlType<T1>,
MySql: HasSqlType<T2>,
MySql: HasSqlType<T3>,
T1: Encode<MySql>,
T2: Encode<MySql>,
T3: Encode<MySql>,
[src]
MySql: HasSqlType<T1>,
MySql: HasSqlType<T2>,
MySql: HasSqlType<T3>,
T1: Encode<MySql>,
T2: Encode<MySql>,
T3: Encode<MySql>,
fn into_arguments(self) -> <MySql as Database>::Arguments
[src]
impl<T1, T2, T3, T4> IntoArguments<MySql> for (T1, T2, T3, T4) where
MySql: HasSqlType<T1>,
MySql: HasSqlType<T2>,
MySql: HasSqlType<T3>,
MySql: HasSqlType<T4>,
T1: Encode<MySql>,
T2: Encode<MySql>,
T3: Encode<MySql>,
T4: Encode<MySql>,
[src]
MySql: HasSqlType<T1>,
MySql: HasSqlType<T2>,
MySql: HasSqlType<T3>,
MySql: HasSqlType<T4>,
T1: Encode<MySql>,
T2: Encode<MySql>,
T3: Encode<MySql>,
T4: Encode<MySql>,
fn into_arguments(self) -> <MySql as Database>::Arguments
[src]
impl<T1, T2, T3, T4, T5> IntoArguments<MySql> for (T1, T2, T3, T4, T5) where
MySql: HasSqlType<T1>,
MySql: HasSqlType<T2>,
MySql: HasSqlType<T3>,
MySql: HasSqlType<T4>,
MySql: HasSqlType<T5>,
T1: Encode<MySql>,
T2: Encode<MySql>,
T3: Encode<MySql>,
T4: Encode<MySql>,
T5: Encode<MySql>,
[src]
MySql: HasSqlType<T1>,
MySql: HasSqlType<T2>,
MySql: HasSqlType<T3>,
MySql: HasSqlType<T4>,
MySql: HasSqlType<T5>,
T1: Encode<MySql>,
T2: Encode<MySql>,
T3: Encode<MySql>,
T4: Encode<MySql>,
T5: Encode<MySql>,
fn into_arguments(self) -> <MySql as Database>::Arguments
[src]
impl<T1, T2, T3, T4, T5, T6> IntoArguments<MySql> for (T1, T2, T3, T4, T5, T6) where
MySql: HasSqlType<T1>,
MySql: HasSqlType<T2>,
MySql: HasSqlType<T3>,
MySql: HasSqlType<T4>,
MySql: HasSqlType<T5>,
MySql: HasSqlType<T6>,
T1: Encode<MySql>,
T2: Encode<MySql>,
T3: Encode<MySql>,
T4: Encode<MySql>,
T5: Encode<MySql>,
T6: Encode<MySql>,
[src]
MySql: HasSqlType<T1>,
MySql: HasSqlType<T2>,
MySql: HasSqlType<T3>,
MySql: HasSqlType<T4>,
MySql: HasSqlType<T5>,
MySql: HasSqlType<T6>,
T1: Encode<MySql>,
T2: Encode<MySql>,
T3: Encode<MySql>,
T4: Encode<MySql>,
T5: Encode<MySql>,
T6: Encode<MySql>,
fn into_arguments(self) -> <MySql as Database>::Arguments
[src]
impl<T1, T2, T3, T4, T5, T6, T7> IntoArguments<MySql> for (T1, T2, T3, T4, T5, T6, T7) where
MySql: HasSqlType<T1>,
MySql: HasSqlType<T2>,
MySql: HasSqlType<T3>,
MySql: HasSqlType<T4>,
MySql: HasSqlType<T5>,
MySql: HasSqlType<T6>,
MySql: HasSqlType<T7>,
T1: Encode<MySql>,
T2: Encode<MySql>,
T3: Encode<MySql>,
T4: Encode<MySql>,
T5: Encode<MySql>,
T6: Encode<MySql>,
T7: Encode<MySql>,
[src]
MySql: HasSqlType<T1>,
MySql: HasSqlType<T2>,
MySql: HasSqlType<T3>,
MySql: HasSqlType<T4>,
MySql: HasSqlType<T5>,
MySql: HasSqlType<T6>,
MySql: HasSqlType<T7>,
T1: Encode<MySql>,
T2: Encode<MySql>,
T3: Encode<MySql>,
T4: Encode<MySql>,
T5: Encode<MySql>,
T6: Encode<MySql>,
T7: Encode<MySql>,
fn into_arguments(self) -> <MySql as Database>::Arguments
[src]
impl<T1, T2, T3, T4, T5, T6, T7, T8> IntoArguments<MySql> for (T1, T2, T3, T4, T5, T6, T7, T8) where
MySql: HasSqlType<T1>,
MySql: HasSqlType<T2>,
MySql: HasSqlType<T3>,
MySql: HasSqlType<T4>,
MySql: HasSqlType<T5>,
MySql: HasSqlType<T6>,
MySql: HasSqlType<T7>,
MySql: HasSqlType<T8>,
T1: Encode<MySql>,
T2: Encode<MySql>,
T3: Encode<MySql>,
T4: Encode<MySql>,
T5: Encode<MySql>,
T6: Encode<MySql>,
T7: Encode<MySql>,
T8: Encode<MySql>,
[src]
MySql: HasSqlType<T1>,
MySql: HasSqlType<T2>,
MySql: HasSqlType<T3>,
MySql: HasSqlType<T4>,
MySql: HasSqlType<T5>,
MySql: HasSqlType<T6>,
MySql: HasSqlType<T7>,
MySql: HasSqlType<T8>,
T1: Encode<MySql>,
T2: Encode<MySql>,
T3: Encode<MySql>,
T4: Encode<MySql>,
T5: Encode<MySql>,
T6: Encode<MySql>,
T7: Encode<MySql>,
T8: Encode<MySql>,
fn into_arguments(self) -> <MySql as Database>::Arguments
[src]
impl<T1, T2, T3, T4, T5, T6, T7, T8, T9> IntoArguments<MySql> for (T1, T2, T3, T4, T5, T6, T7, T8, T9) where
MySql: HasSqlType<T1>,
MySql: HasSqlType<T2>,
MySql: HasSqlType<T3>,
MySql: HasSqlType<T4>,
MySql: HasSqlType<T5>,
MySql: HasSqlType<T6>,
MySql: HasSqlType<T7>,
MySql: HasSqlType<T8>,
MySql: HasSqlType<T9>,
T1: Encode<MySql>,
T2: Encode<MySql>,
T3: Encode<MySql>,
T4: Encode<MySql>,
T5: Encode<MySql>,
T6: Encode<MySql>,
T7: Encode<MySql>,
T8: Encode<MySql>,
T9: Encode<MySql>,
[src]
MySql: HasSqlType<T1>,
MySql: HasSqlType<T2>,
MySql: HasSqlType<T3>,
MySql: HasSqlType<T4>,
MySql: HasSqlType<T5>,
MySql: HasSqlType<T6>,
MySql: HasSqlType<T7>,
MySql: HasSqlType<T8>,
MySql: HasSqlType<T9>,
T1: Encode<MySql>,
T2: Encode<MySql>,
T3: Encode<MySql>,
T4: Encode<MySql>,
T5: Encode<MySql>,
T6: Encode<MySql>,
T7: Encode<MySql>,
T8: Encode<MySql>,
T9: Encode<MySql>,
fn into_arguments(self) -> <MySql as Database>::Arguments
[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,
fn metadata() -> <DB as HasTypeMetadata>::TypeMetadata
[src]
impl<T, DB> HasSqlType<Option<T>> for DB where
DB: HasSqlType<T>,
[src]
DB: HasSqlType<T>,
fn metadata() -> <DB as HasTypeMetadata>::TypeMetadata
[src]
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>,