pub struct Mysql;
Available on crate feature mysql_backend only.
Expand description

The MySQL backend

Trait Implementations

The concrete QueryBuilder implementation for this backend.
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more

The returned pointer is only valid for the lifetime to the argument of from_sql. This impl is intended for uses where you want to write a new impl in terms of Vec<u8>, but don’t want to allocate. We have to return a raw pointer instead of a reference with a lifetime due to the structure of FromSql

See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more

The returned pointer is only valid for the lifetime to the argument of from_sql. This impl is intended for uses where you want to write a new impl in terms of String, but don’t want to allocate. We have to return a raw pointer instead of a reference with a lifetime due to the structure of FromSql

See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
See the trait documentation.
A specialized variant of from_sql for handling null values. Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Add sql to the end of the query being constructed.
Quote identifier, and add it to the end of the query being constructed. Read more
Add a placeholder for a bind parameter to the end of the query being constructed. Read more
Returns the constructed SQL query.
Increases the internal counter for bind parameters without adding the bind parameter itself to the query Read more
Configures how this backends supports RETURNING clauses Read more
Configures how this backend supports ON CONFLICT clauses Read more
Configures how this backend handles the bare DEFAULT keyword for inserting the default value in a INSERT INTO VALUES clause Read more
Configures how this backend handles Batch insert statements Read more
Configures how this backend handles the DEFAULT VALUES clause for insert statements. Read more
Configures how this backend handles empty FROM clauses for select statements. Read more
Configures how this backend structures SELECT queries Read more
Configures how this backend handles EXISTS() expressions. Read more
Configures how this backend handles IN() and NOT IN() expressions. Read more
Configures how this backend handles the Concat clauses in select statements. Read more
See the trait documentation.
See the trait documentation.
See the trait documentation.
See the trait documentation.
See the trait documentation.
See the trait documentation.
See the trait documentation.
See the trait documentation.
See the trait documentation.
See the trait documentation.
See the trait documentation.
See the trait documentation.
See the trait documentation.
See the trait documentation.
See the trait documentation.
See the trait documentation.
See the trait documentation.
See the trait documentation.
See the trait documentation.
See the trait documentation.
See the trait documentation.
See the trait documentation.
See the trait documentation.
See the trait documentation.
See the trait documentation.
See the trait documentation.
See the trait documentation.
The actual type used to represent metadata. Read more
The type used for runtime lookup of metadata. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Convert self to an expression for Diesel’s query builder. Read more
Convert &self to an expression for Diesel’s query builder. Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The exact return value of this function is considerded to be a backend specific implementation detail. You should not rely on those values if you not own the corresponding backend Read more
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.