Trait diesel::sql_types::ops::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

§

type Rhs = Float

§

type Output = 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>,

§

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

§

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

source§

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

Available on crate feature mysql_backend only.
§

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

§

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