Struct diesel::mysql::Mysql [−][src]
pub struct Mysql;
The MySQL backend
Trait Implementations
impl HasSqlType<Bool> for Mysql
[src]
impl HasSqlType<Bool> for Mysql
impl HasSqlType<Tinyint> for Mysql
[src]
impl HasSqlType<Tinyint> for Mysql
impl HasSqlType<SmallInt> for Mysql
[src]
impl HasSqlType<SmallInt> for Mysql
impl HasSqlType<Integer> for Mysql
[src]
impl HasSqlType<Integer> for Mysql
impl HasSqlType<BigInt> for Mysql
[src]
impl HasSqlType<BigInt> for Mysql
impl HasSqlType<Float> for Mysql
[src]
impl HasSqlType<Float> for Mysql
impl HasSqlType<Double> for Mysql
[src]
impl HasSqlType<Double> for Mysql
impl HasSqlType<Numeric> for Mysql
[src]
impl HasSqlType<Numeric> for Mysql
impl HasSqlType<Text> for Mysql
[src]
impl HasSqlType<Text> for Mysql
impl HasSqlType<Binary> for Mysql
[src]
impl HasSqlType<Binary> for Mysql
impl HasSqlType<Date> for Mysql
[src]
impl HasSqlType<Date> for Mysql
impl HasSqlType<Time> for Mysql
[src]
impl HasSqlType<Time> for Mysql
impl HasSqlType<Timestamp> for Mysql
[src]
impl HasSqlType<Timestamp> for Mysql
impl Debug for Mysql
[src]
impl Debug for Mysql
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for Mysql
[src]
impl Copy for Mysql
impl Clone for Mysql
[src]
impl Clone for Mysql
fn clone(&self) -> Mysql
[src]
fn clone(&self) -> Mysql
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Hash for Mysql
[src]
impl Hash for Mysql
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for Mysql
[src]
impl PartialEq for Mysql
fn eq(&self, other: &Mysql) -> bool
[src]
fn eq(&self, other: &Mysql) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for Mysql
[src]
impl Eq for Mysql
impl Backend for Mysql
[src]
impl Backend for Mysql
type QueryBuilder = MysqlQueryBuilder
The concrete QueryBuilder
implementation for this backend.
type BindCollector = MysqlBindCollector
The concrete BindCollector
implementation for this backend. Read more
type RawValue = [u8]
The raw representation of a database value given to FromSql
. Read more
type ByteOrder = NativeEndian
What byte order is used to transmit integers? Read more
impl TypeMetadata for Mysql
[src]
impl TypeMetadata for Mysql
type TypeMetadata = MysqlType
The actual type used to represent metadata. Read more
type MetadataLookup = ()
The type used for runtime lookup of metadata. Read more
impl SupportsDefaultKeyword for Mysql
[src]
impl SupportsDefaultKeyword for Mysql
impl UsesAnsiSavepointSyntax for Mysql
[src]
impl UsesAnsiSavepointSyntax for Mysql
impl QueryBuilder<Mysql> for MysqlQueryBuilder
[src]
impl QueryBuilder<Mysql> for MysqlQueryBuilder
fn push_sql(&mut self, sql: &str)
[src]
fn push_sql(&mut self, sql: &str)
Add sql
to the end of the query being constructed.
fn push_identifier(&mut self, identifier: &str) -> QueryResult<()>
[src]
fn push_identifier(&mut self, identifier: &str) -> QueryResult<()>
Quote identifier
, and add it to the end of the query being constructed. Read more
fn push_bind_param(&mut self)
[src]
fn push_bind_param(&mut self)
Add a placeholder for a bind parameter to the end of the query being constructed. Read more
fn finish(self) -> String
[src]
fn finish(self) -> String
Returns the constructed SQL query.
impl ToSql<Datetime, Mysql> for MYSQL_TIME
[src]
impl ToSql<Datetime, Mysql> for MYSQL_TIME
impl FromSql<Datetime, Mysql> for MYSQL_TIME
[src]
impl FromSql<Datetime, Mysql> for MYSQL_TIME
impl ToSql<Timestamp, Mysql> for MYSQL_TIME
[src]
impl ToSql<Timestamp, Mysql> for MYSQL_TIME
impl FromSql<Timestamp, Mysql> for MYSQL_TIME
[src]
impl FromSql<Timestamp, Mysql> for MYSQL_TIME
impl ToSql<Time, Mysql> for MYSQL_TIME
[src]
impl ToSql<Time, Mysql> for MYSQL_TIME
impl FromSql<Time, Mysql> for MYSQL_TIME
[src]
impl FromSql<Time, Mysql> for MYSQL_TIME
impl ToSql<Date, Mysql> for MYSQL_TIME
[src]
impl ToSql<Date, Mysql> for MYSQL_TIME
impl FromSql<Date, Mysql> for MYSQL_TIME
[src]
impl FromSql<Date, Mysql> for MYSQL_TIME
impl ToSql<Datetime, Mysql> for NaiveDateTime
[src]
impl ToSql<Datetime, Mysql> for NaiveDateTime
impl FromSql<Datetime, Mysql> for NaiveDateTime
[src]
impl FromSql<Datetime, Mysql> for NaiveDateTime
impl ToSql<Timestamp, Mysql> for NaiveDateTime
[src]
impl ToSql<Timestamp, Mysql> for NaiveDateTime
impl FromSql<Timestamp, Mysql> for NaiveDateTime
[src]
impl FromSql<Timestamp, Mysql> for NaiveDateTime
impl ToSql<Time, Mysql> for NaiveTime
[src]
impl ToSql<Time, Mysql> for NaiveTime
impl FromSql<Time, Mysql> for NaiveTime
[src]
impl FromSql<Time, Mysql> for NaiveTime
impl ToSql<Date, Mysql> for NaiveDate
[src]
impl ToSql<Date, Mysql> for NaiveDate
impl FromSql<Date, Mysql> for NaiveDate
[src]
impl FromSql<Date, Mysql> for NaiveDate
impl HasSqlType<Datetime> for Mysql
[src]
impl HasSqlType<Datetime> for Mysql
impl ToSql<Tinyint, Mysql> for i8
[src]
impl ToSql<Tinyint, Mysql> for i8
impl FromSql<Tinyint, Mysql> for i8
[src]
impl FromSql<Tinyint, Mysql> for i8
impl ToSql<Unsigned<SmallInt>, Mysql> for u16
[src]
impl ToSql<Unsigned<SmallInt>, Mysql> for u16
impl FromSql<Unsigned<SmallInt>, Mysql> for u16
[src]
impl FromSql<Unsigned<SmallInt>, Mysql> for u16
impl ToSql<Unsigned<Integer>, Mysql> for u32
[src]
impl ToSql<Unsigned<Integer>, Mysql> for u32
impl FromSql<Unsigned<Integer>, Mysql> for u32
[src]
impl FromSql<Unsigned<Integer>, Mysql> for u32
impl ToSql<Unsigned<BigInt>, Mysql> for u64
[src]
impl ToSql<Unsigned<BigInt>, Mysql> for u64
impl FromSql<Unsigned<BigInt>, Mysql> for u64
[src]
impl FromSql<Unsigned<BigInt>, Mysql> for u64
impl ToSql<Bool, Mysql> for bool
[src]
impl ToSql<Bool, Mysql> for bool
impl FromSql<Bool, Mysql> for bool
[src]
impl FromSql<Bool, Mysql> for bool
impl<ST> HasSqlType<Unsigned<ST>> for Mysql where
Mysql: HasSqlType<ST>,
[src]
impl<ST> HasSqlType<Unsigned<ST>> for Mysql where
Mysql: HasSqlType<ST>,