diesel::sql_types::ops

Trait Mul

Source
pub trait Mul {
    type Rhs: SqlType;
    type Output: SqlType;
}
Expand description

Represents SQL types which can be multiplied.

Required Associated Types§

Source

type Rhs: SqlType

The SQL type which this can be multiplied by

Source

type Output: SqlType

The SQL type of the result of multiplying Self by Rhs

Implementors§

Source§

impl Mul for BigInt

Source§

impl Mul for Double

Source§

impl Mul for Float

Source§

impl Mul for Integer

Source§

impl Mul for Interval

Source§

impl Mul for Numeric

Source§

impl Mul for SmallInt

Source§

impl<T> Mul for Nullable<T>
where T: Mul + SqlType<IsNull = NotNull>, T::Rhs: SqlType<IsNull = NotNull>, T::Output: SqlType<IsNull = NotNull>,

Source§

type Rhs = Nullable<<T as Mul>::Rhs>

Source§

type Output = Nullable<<T as Mul>::Output>

Source§

impl<T> Mul for Unsigned<T>
where T: Mul,

Available on crate feature mysql_backend only.
Source§

type Rhs = Unsigned<<T as Mul>::Rhs>

Source§

type Output = Unsigned<<T as Mul>::Output>