Skip to main content

MySQLDialect

Struct MySQLDialect 

Source
pub struct MySQLDialect;
Expand description

Type-level marker for MySQL.

Selects MySQL type mappings (DialectTypes, SQLTypeToRust). MySQL keeps signed and unsigned integer types apart, quotes identifiers with backticks, and has one native JSON type. It has no native UUID or time-zone-aware datetime: UUIDs use BINARY(16), and TimestampTz maps to TIMESTAMP, which follows the session time zone.

Trait Implementations§

Source§

impl AggregatePolicy<MySQLDialect> for TinyInt

Source§

type Sum = Decimal

Result type of SUM.
Source§

type Avg = Decimal

Result type of AVG.
Source§

impl AggregatePolicy<MySQLDialect> for TinyIntUnsigned

Source§

type Sum = Decimal

Result type of SUM.
Source§

type Avg = Decimal

Result type of AVG.
Source§

impl AggregatePolicy<MySQLDialect> for SmallInt

Source§

type Sum = Decimal

Result type of SUM.
Source§

type Avg = Decimal

Result type of AVG.
Source§

impl AggregatePolicy<MySQLDialect> for SmallIntUnsigned

Source§

type Sum = Decimal

Result type of SUM.
Source§

type Avg = Decimal

Result type of AVG.
Source§

impl AggregatePolicy<MySQLDialect> for MediumInt

Source§

type Sum = Decimal

Result type of SUM.
Source§

type Avg = Decimal

Result type of AVG.
Source§

impl AggregatePolicy<MySQLDialect> for MediumIntUnsigned

Source§

type Sum = Decimal

Result type of SUM.
Source§

type Avg = Decimal

Result type of AVG.
Source§

impl AggregatePolicy<MySQLDialect> for Int

Source§

type Sum = Decimal

Result type of SUM.
Source§

type Avg = Decimal

Result type of AVG.
Source§

impl AggregatePolicy<MySQLDialect> for IntUnsigned

Source§

type Sum = Decimal

Result type of SUM.
Source§

type Avg = Decimal

Result type of AVG.
Source§

impl AggregatePolicy<MySQLDialect> for BigInt

Source§

type Sum = Decimal

Result type of SUM.
Source§

type Avg = Decimal

Result type of AVG.
Source§

impl AggregatePolicy<MySQLDialect> for BigIntUnsigned

Source§

type Sum = Decimal

Result type of SUM.
Source§

type Avg = Decimal

Result type of AVG.
Source§

impl AggregatePolicy<MySQLDialect> for Year

Source§

type Sum = Decimal

Result type of SUM.
Source§

type Avg = Decimal

Result type of AVG.
Source§

impl AggregatePolicy<MySQLDialect> for Decimal

Source§

type Sum = Decimal

Result type of SUM.
Source§

type Avg = Decimal

Result type of AVG.
Source§

impl AggregatePolicy<MySQLDialect> for Float

Source§

type Sum = Double

Result type of SUM.
Source§

type Avg = Double

Result type of AVG.
Source§

impl AggregatePolicy<MySQLDialect> for Double

Source§

type Sum = Double

Result type of SUM.
Source§

type Avg = Double

Result type of AVG.
Source§

impl<Source: DataType> CastTypePolicy<MySQLDialect, Source, BigInt> for ()

Source§

impl<Source: DataType> CastTypePolicy<MySQLDialect, Source, BigIntUnsigned> for ()

Source§

impl<Source: DataType> CastTypePolicy<MySQLDialect, Source, Date> for ()

Source§

impl<Source: DataType> CastTypePolicy<MySQLDialect, Source, DateTime> for ()

Source§

impl<Source: DataType> CastTypePolicy<MySQLDialect, Source, Decimal> for ()

Source§

impl<Source: DataType> CastTypePolicy<MySQLDialect, Source, Double> for ()

Source§

impl<Source: DataType> CastTypePolicy<MySQLDialect, Source, Float> for ()

Source§

impl<Source: DataType> CastTypePolicy<MySQLDialect, Source, Json> for ()

Source§

impl<Source: DataType> CastTypePolicy<MySQLDialect, Source, Time> for ()

Source§

impl<Source: DataType> CastTypePolicy<MySQLDialect, Source, Varbinary> for ()

Source§

impl<Source: DataType> CastTypePolicy<MySQLDialect, Source, Varchar> for ()

Source§

impl<Source: DataType> CastTypePolicy<MySQLDialect, Source, Year> for ()

Source§

impl Clone for MySQLDialect

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for MySQLDialect

Source§

impl Debug for MySQLDialect

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl DialectSupports<GroupConcat> for MySQLDialect

Source§

impl DialectSupports<LeftRight> for MySQLDialect

Source§

impl DialectSupports<Pad> for MySQLDialect

Source§

impl DialectSupports<Repeat> for MySQLDialect

Source§

impl DialectSupports<Reverse> for MySQLDialect

Source§

impl DialectTypes for MySQLDialect

Source§

const CHAR_LENGTH_FN: &'static str = "CHAR_LENGTH"

Name of the character-count function (LENGTH on SQLite).
Source§

type SmallInt = SmallInt

16-bit integer.
Source§

type Int = Int

32-bit integer.
Source§

type BigInt = BigInt

64-bit integer.
Source§

type Float = Float

Single-precision float.
Source§

type Double = Double

Double-precision float.
Source§

type Text = Text

Text.
Source§

type Bool = Boolean

Boolean (an integer on SQLite).
Source§

type Bytes = Blob

Binary data.
Source§

type Date = Date

Calendar date.
Source§

type Time = Time

Time of day.
Source§

type Timestamp = DateTime

Date and time without a time zone.
Source§

type TimestampTz = Timestamp

Date and time with a time zone.
Source§

type Uuid = Binary

UUID.
Source§

type Json = Json

JSON.
Source§

type Jsonb = Json

Binary JSON (jsonb; plain JSON where the dialect has no jsonb).
Source§

type Any = Any

A value of unknown type.
Source§

type Random = Double

Result type of RANDOM().
Source§

type Sign = BigInt

Result type of SIGN(x).
Source§

type DomainNullable<Input: Nullability> = Null

Nullability of a math function whose domain is narrower than its input type (SQRT, LN, LOG, …) given input nullability Input: SQLite and MySQL answer NULL outside the domain, PostgreSQL raises.
Source§

impl<L, R> GreatestLeastPolicy<L, R> for MySQLDialect
where L: Nullability, R: Nullability,

Source§

type Nullable = <L as Nullability>::Or<R>

Nullability of the result.
Source§

type Sources<A, B> = (A, B)

How the operands’ sources (each an Arg) combine.
Source§

impl InstrPolicy for MySQLDialect

Source§

type Output = BigInt

Result type of INSTR.
Source§

impl LengthPolicy<MySQLDialect> for Char

Source§

type Output = BigInt

Result type of the length functions.
Source§

impl LengthPolicy<MySQLDialect> for Varchar

Source§

type Output = BigInt

Result type of the length functions.
Source§

impl LengthPolicy<MySQLDialect> for TinyText

Source§

type Output = BigInt

Result type of the length functions.
Source§

impl LengthPolicy<MySQLDialect> for Text

Source§

type Output = BigInt

Result type of the length functions.
Source§

impl LengthPolicy<MySQLDialect> for MediumText

Source§

type Output = BigInt

Result type of the length functions.
Source§

impl LengthPolicy<MySQLDialect> for LongText

Source§

type Output = BigInt

Result type of the length functions.
Source§

impl LengthPolicy<MySQLDialect> for Enum

Source§

type Output = BigInt

Result type of the length functions.
Source§

impl LengthPolicy<MySQLDialect> for Set

Source§

type Output = BigInt

Result type of the length functions.
Source§

impl Log2Policy for MySQLDialect

Source§

type Nullable = Null

Nullability of the LOG2 result.
Source§

impl MathExt for MySQLDialect

Source§

impl RoundingPolicy<MySQLDialect> for TinyInt

Source§

type Output = BigInt

Result type of the rounding functions.
Source§

fn precision_operand<'a, V: SQLParam + 'a>(expr: SQL<'a, V>) -> SQL<'a, V>

Prepares the operand of ROUND(expr, precision). Read more
Source§

fn coerce_result<'a, V: SQLParam + 'a>(sql: SQL<'a, V>) -> SQL<'a, V>

Coerces a rounding function’s result to Self::Output. Read more
Source§

impl RoundingPolicy<MySQLDialect> for SmallInt

Source§

type Output = BigInt

Result type of the rounding functions.
Source§

fn precision_operand<'a, V: SQLParam + 'a>(expr: SQL<'a, V>) -> SQL<'a, V>

Prepares the operand of ROUND(expr, precision). Read more
Source§

fn coerce_result<'a, V: SQLParam + 'a>(sql: SQL<'a, V>) -> SQL<'a, V>

Coerces a rounding function’s result to Self::Output. Read more
Source§

impl RoundingPolicy<MySQLDialect> for MediumInt

Source§

type Output = BigInt

Result type of the rounding functions.
Source§

fn precision_operand<'a, V: SQLParam + 'a>(expr: SQL<'a, V>) -> SQL<'a, V>

Prepares the operand of ROUND(expr, precision). Read more
Source§

fn coerce_result<'a, V: SQLParam + 'a>(sql: SQL<'a, V>) -> SQL<'a, V>

Coerces a rounding function’s result to Self::Output. Read more
Source§

impl RoundingPolicy<MySQLDialect> for Int

Source§

type Output = BigInt

Result type of the rounding functions.
Source§

fn precision_operand<'a, V: SQLParam + 'a>(expr: SQL<'a, V>) -> SQL<'a, V>

Prepares the operand of ROUND(expr, precision). Read more
Source§

fn coerce_result<'a, V: SQLParam + 'a>(sql: SQL<'a, V>) -> SQL<'a, V>

Coerces a rounding function’s result to Self::Output. Read more
Source§

impl RoundingPolicy<MySQLDialect> for BigInt

Source§

type Output = BigInt

Result type of the rounding functions.
Source§

fn precision_operand<'a, V: SQLParam + 'a>(expr: SQL<'a, V>) -> SQL<'a, V>

Prepares the operand of ROUND(expr, precision). Read more
Source§

fn coerce_result<'a, V: SQLParam + 'a>(sql: SQL<'a, V>) -> SQL<'a, V>

Coerces a rounding function’s result to Self::Output. Read more
Source§

impl RoundingPolicy<MySQLDialect> for TinyIntUnsigned

Source§

type Output = BigIntUnsigned

Result type of the rounding functions.
Source§

fn precision_operand<'a, V: SQLParam + 'a>(expr: SQL<'a, V>) -> SQL<'a, V>

Prepares the operand of ROUND(expr, precision). Read more
Source§

fn coerce_result<'a, V: SQLParam + 'a>(sql: SQL<'a, V>) -> SQL<'a, V>

Coerces a rounding function’s result to Self::Output. Read more
Source§

impl RoundingPolicy<MySQLDialect> for SmallIntUnsigned

Source§

type Output = BigIntUnsigned

Result type of the rounding functions.
Source§

fn precision_operand<'a, V: SQLParam + 'a>(expr: SQL<'a, V>) -> SQL<'a, V>

Prepares the operand of ROUND(expr, precision). Read more
Source§

fn coerce_result<'a, V: SQLParam + 'a>(sql: SQL<'a, V>) -> SQL<'a, V>

Coerces a rounding function’s result to Self::Output. Read more
Source§

impl RoundingPolicy<MySQLDialect> for MediumIntUnsigned

Source§

type Output = BigIntUnsigned

Result type of the rounding functions.
Source§

fn precision_operand<'a, V: SQLParam + 'a>(expr: SQL<'a, V>) -> SQL<'a, V>

Prepares the operand of ROUND(expr, precision). Read more
Source§

fn coerce_result<'a, V: SQLParam + 'a>(sql: SQL<'a, V>) -> SQL<'a, V>

Coerces a rounding function’s result to Self::Output. Read more
Source§

impl RoundingPolicy<MySQLDialect> for IntUnsigned

Source§

type Output = BigIntUnsigned

Result type of the rounding functions.
Source§

fn precision_operand<'a, V: SQLParam + 'a>(expr: SQL<'a, V>) -> SQL<'a, V>

Prepares the operand of ROUND(expr, precision). Read more
Source§

fn coerce_result<'a, V: SQLParam + 'a>(sql: SQL<'a, V>) -> SQL<'a, V>

Coerces a rounding function’s result to Self::Output. Read more
Source§

impl RoundingPolicy<MySQLDialect> for BigIntUnsigned

Source§

type Output = BigIntUnsigned

Result type of the rounding functions.
Source§

fn precision_operand<'a, V: SQLParam + 'a>(expr: SQL<'a, V>) -> SQL<'a, V>

Prepares the operand of ROUND(expr, precision). Read more
Source§

fn coerce_result<'a, V: SQLParam + 'a>(sql: SQL<'a, V>) -> SQL<'a, V>

Coerces a rounding function’s result to Self::Output. Read more
Source§

impl RoundingPolicy<MySQLDialect> for Year

Source§

type Output = BigIntUnsigned

Result type of the rounding functions.
Source§

fn precision_operand<'a, V: SQLParam + 'a>(expr: SQL<'a, V>) -> SQL<'a, V>

Prepares the operand of ROUND(expr, precision). Read more
Source§

fn coerce_result<'a, V: SQLParam + 'a>(sql: SQL<'a, V>) -> SQL<'a, V>

Coerces a rounding function’s result to Self::Output. Read more
Source§

impl RoundingPolicy<MySQLDialect> for Float

Source§

type Output = Double

Result type of the rounding functions.
Source§

fn precision_operand<'a, V: SQLParam + 'a>(expr: SQL<'a, V>) -> SQL<'a, V>

Prepares the operand of ROUND(expr, precision). Read more
Source§

fn coerce_result<'a, V: SQLParam + 'a>(sql: SQL<'a, V>) -> SQL<'a, V>

Coerces a rounding function’s result to Self::Output. Read more
Source§

impl RoundingPolicy<MySQLDialect> for Double

Source§

type Output = Double

Result type of the rounding functions.
Source§

fn precision_operand<'a, V: SQLParam + 'a>(expr: SQL<'a, V>) -> SQL<'a, V>

Prepares the operand of ROUND(expr, precision). Read more
Source§

fn coerce_result<'a, V: SQLParam + 'a>(sql: SQL<'a, V>) -> SQL<'a, V>

Coerces a rounding function’s result to Self::Output. Read more
Source§

impl RoundingPolicy<MySQLDialect> for Decimal

Source§

type Output = Decimal

Result type of the rounding functions.
Source§

fn precision_operand<'a, V: SQLParam + 'a>(expr: SQL<'a, V>) -> SQL<'a, V>

Prepares the operand of ROUND(expr, precision). Read more
Source§

fn coerce_result<'a, V: SQLParam + 'a>(sql: SQL<'a, V>) -> SQL<'a, V>

Coerces a rounding function’s result to Self::Output. Read more
Source§

impl SQLTypeToRust<MySQLDialect> for TinyInt

Source§

impl SQLTypeToRust<MySQLDialect> for TinyIntUnsigned

Source§

impl SQLTypeToRust<MySQLDialect> for SmallInt

Source§

impl SQLTypeToRust<MySQLDialect> for SmallIntUnsigned

Source§

impl SQLTypeToRust<MySQLDialect> for MediumInt

Source§

impl SQLTypeToRust<MySQLDialect> for Int

Source§

impl SQLTypeToRust<MySQLDialect> for MediumIntUnsigned

Source§

impl SQLTypeToRust<MySQLDialect> for IntUnsigned

Source§

impl SQLTypeToRust<MySQLDialect> for BigInt

Source§

impl SQLTypeToRust<MySQLDialect> for BigIntUnsigned

Source§

impl SQLTypeToRust<MySQLDialect> for Float

Source§

impl SQLTypeToRust<MySQLDialect> for Double

Source§

impl SQLTypeToRust<MySQLDialect> for Boolean

Source§

impl SQLTypeToRust<MySQLDialect> for Char

Source§

impl SQLTypeToRust<MySQLDialect> for Varchar

Source§

impl SQLTypeToRust<MySQLDialect> for TinyText

Source§

impl SQLTypeToRust<MySQLDialect> for Text

Source§

impl SQLTypeToRust<MySQLDialect> for MediumText

Source§

impl SQLTypeToRust<MySQLDialect> for LongText

Source§

impl SQLTypeToRust<MySQLDialect> for Enum

Source§

impl SQLTypeToRust<MySQLDialect> for Set

Source§

impl SQLTypeToRust<MySQLDialect> for Any

Source§

impl SQLTypeToRust<MySQLDialect> for Binary

Source§

impl SQLTypeToRust<MySQLDialect> for Varbinary

Source§

impl SQLTypeToRust<MySQLDialect> for TinyBlob

Source§

impl SQLTypeToRust<MySQLDialect> for Blob

Source§

impl SQLTypeToRust<MySQLDialect> for MediumBlob

Source§

impl SQLTypeToRust<MySQLDialect> for LongBlob

Source§

impl SQLTypeToRust<MySQLDialect> for Bit

Source§

impl SQLTypeToRust<MySQLDialect> for Year

Source§

impl SQLTypeToRust<MySQLDialect> for Decimal

Source§

impl SQLTypeToRust<MySQLDialect> for Json

Source§

impl SQLTypeToRust<MySQLDialect> for Date

Source§

impl SQLTypeToRust<MySQLDialect> for Time

Source§

impl SQLTypeToRust<MySQLDialect> for DateTime

Source§

impl SQLTypeToRust<MySQLDialect> for Timestamp

Source§

impl StatisticalAggregatePolicy<MySQLDialect> for TinyInt

Source§

type StddevPop = Double

Result type of STDDEV_POP.
Source§

type StddevSamp = Double

Result type of STDDEV_SAMP.
Source§

type VarPop = Double

Result type of VAR_POP.
Source§

type VarSamp = Double

Result type of VAR_SAMP / VARIANCE.
Source§

impl StatisticalAggregatePolicy<MySQLDialect> for TinyIntUnsigned

Source§

type StddevPop = Double

Result type of STDDEV_POP.
Source§

type StddevSamp = Double

Result type of STDDEV_SAMP.
Source§

type VarPop = Double

Result type of VAR_POP.
Source§

type VarSamp = Double

Result type of VAR_SAMP / VARIANCE.
Source§

impl StatisticalAggregatePolicy<MySQLDialect> for SmallInt

Source§

type StddevPop = Double

Result type of STDDEV_POP.
Source§

type StddevSamp = Double

Result type of STDDEV_SAMP.
Source§

type VarPop = Double

Result type of VAR_POP.
Source§

type VarSamp = Double

Result type of VAR_SAMP / VARIANCE.
Source§

impl StatisticalAggregatePolicy<MySQLDialect> for SmallIntUnsigned

Source§

type StddevPop = Double

Result type of STDDEV_POP.
Source§

type StddevSamp = Double

Result type of STDDEV_SAMP.
Source§

type VarPop = Double

Result type of VAR_POP.
Source§

type VarSamp = Double

Result type of VAR_SAMP / VARIANCE.
Source§

impl StatisticalAggregatePolicy<MySQLDialect> for MediumInt

Source§

type StddevPop = Double

Result type of STDDEV_POP.
Source§

type StddevSamp = Double

Result type of STDDEV_SAMP.
Source§

type VarPop = Double

Result type of VAR_POP.
Source§

type VarSamp = Double

Result type of VAR_SAMP / VARIANCE.
Source§

impl StatisticalAggregatePolicy<MySQLDialect> for MediumIntUnsigned

Source§

type StddevPop = Double

Result type of STDDEV_POP.
Source§

type StddevSamp = Double

Result type of STDDEV_SAMP.
Source§

type VarPop = Double

Result type of VAR_POP.
Source§

type VarSamp = Double

Result type of VAR_SAMP / VARIANCE.
Source§

impl StatisticalAggregatePolicy<MySQLDialect> for Int

Source§

type StddevPop = Double

Result type of STDDEV_POP.
Source§

type StddevSamp = Double

Result type of STDDEV_SAMP.
Source§

type VarPop = Double

Result type of VAR_POP.
Source§

type VarSamp = Double

Result type of VAR_SAMP / VARIANCE.
Source§

impl StatisticalAggregatePolicy<MySQLDialect> for IntUnsigned

Source§

type StddevPop = Double

Result type of STDDEV_POP.
Source§

type StddevSamp = Double

Result type of STDDEV_SAMP.
Source§

type VarPop = Double

Result type of VAR_POP.
Source§

type VarSamp = Double

Result type of VAR_SAMP / VARIANCE.
Source§

impl StatisticalAggregatePolicy<MySQLDialect> for BigInt

Source§

type StddevPop = Double

Result type of STDDEV_POP.
Source§

type StddevSamp = Double

Result type of STDDEV_SAMP.
Source§

type VarPop = Double

Result type of VAR_POP.
Source§

type VarSamp = Double

Result type of VAR_SAMP / VARIANCE.
Source§

impl StatisticalAggregatePolicy<MySQLDialect> for BigIntUnsigned

Source§

type StddevPop = Double

Result type of STDDEV_POP.
Source§

type StddevSamp = Double

Result type of STDDEV_SAMP.
Source§

type VarPop = Double

Result type of VAR_POP.
Source§

type VarSamp = Double

Result type of VAR_SAMP / VARIANCE.
Source§

impl StatisticalAggregatePolicy<MySQLDialect> for Year

Source§

type StddevPop = Double

Result type of STDDEV_POP.
Source§

type StddevSamp = Double

Result type of STDDEV_SAMP.
Source§

type VarPop = Double

Result type of VAR_POP.
Source§

type VarSamp = Double

Result type of VAR_SAMP / VARIANCE.
Source§

impl StatisticalAggregatePolicy<MySQLDialect> for Decimal

Source§

type StddevPop = Double

Result type of STDDEV_POP.
Source§

type StddevSamp = Double

Result type of STDDEV_SAMP.
Source§

type VarPop = Double

Result type of VAR_POP.
Source§

type VarSamp = Double

Result type of VAR_SAMP / VARIANCE.
Source§

impl StatisticalAggregatePolicy<MySQLDialect> for Float

Source§

type StddevPop = Double

Result type of STDDEV_POP.
Source§

type StddevSamp = Double

Result type of STDDEV_SAMP.
Source§

type VarPop = Double

Result type of VAR_POP.
Source§

type VarSamp = Double

Result type of VAR_SAMP / VARIANCE.
Source§

impl StatisticalAggregatePolicy<MySQLDialect> for Double

Source§

type StddevPop = Double

Result type of STDDEV_POP.
Source§

type StddevSamp = Double

Result type of STDDEV_SAMP.
Source§

type VarPop = Double

Result type of VAR_POP.
Source§

type VarSamp = Double

Result type of VAR_SAMP / VARIANCE.
Source§

impl ValueTypeForDialect<MySQLDialect> for i8

Source§

type SQLType = TinyInt

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for i16

Source§

type SQLType = SmallInt

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for i32

Source§

type SQLType = Int

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for i64

Source§

type SQLType = BigInt

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for isize

Source§

type SQLType = BigInt

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for u8

Source§

type SQLType = TinyIntUnsigned

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for u16

Source§

type SQLType = SmallIntUnsigned

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for u32

Source§

type SQLType = IntUnsigned

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for u64

Source§

type SQLType = BigIntUnsigned

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for usize

Source§

type SQLType = BigIntUnsigned

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for f32

Source§

type SQLType = Float

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for f64

Source§

type SQLType = Double

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for bool

Source§

type SQLType = Boolean

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for &str

Source§

type SQLType = Text

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for Cow<'_, str>

Source§

type SQLType = Text

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for String

Source§

type SQLType = Text

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for Box<String>

Source§

type SQLType = Text

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for Rc<String>

Source§

type SQLType = Text

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for Arc<String>

Source§

type SQLType = Text

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for Box<str>

Source§

type SQLType = Text

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for Rc<str>

Source§

type SQLType = Text

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for Arc<str>

Source§

type SQLType = Text

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for &[u8]

Source§

type SQLType = Blob

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for Cow<'_, [u8]>

Source§

type SQLType = Blob

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for Vec<u8>

Source§

type SQLType = Blob

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for Box<Vec<u8>>

Source§

type SQLType = Blob

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for Rc<Vec<u8>>

Source§

type SQLType = Blob

The SQL type marker.
Source§

impl ValueTypeForDialect<MySQLDialect> for Arc<Vec<u8>>

Source§

type SQLType = Blob

The SQL type marker.
Source§

impl<const N: usize> ValueTypeForDialect<MySQLDialect> for [u8; N]

Source§

type SQLType = Binary

The SQL type marker.
Source§

impl<const N: usize> ValueTypeForDialect<MySQLDialect> for [char; N]

Source§

type SQLType = Char

The SQL type marker.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<Joined, From> JoinKey<From, JoinReverse> for Joined
where From: Joinable<Joined> + ?Sized,

Source§

fn pairs() -> &'static [(&'static str, &'static str)]

(joined_column, from_column) pairs the ON condition matches, in key order, read through Self::pair.
Source§

fn pair(pair: &(&'static str, &'static str)) -> (&'static str, &'static str)

The (joined_column, from_column) names of pair.
Source§

impl<List> ListIncludes<Nil, ()> for List

Source§

impl<Mk> MarkerAggValidFor<()> for Mk

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> TypeEq<T> for T