Trait diesel::sql_types::ops::Div[][src]

pub trait Div {
    type Rhs: SqlType;
    type Output: SqlType;

Represents SQL types which can be divided.

Associated Types

type Rhs: SqlType[src]

The SQL type which this one can be divided by

type Output: SqlType[src]

The SQL type of the result of dividing Self by Rhs

Loading content...


impl Div for BigInt[src]

type Rhs = BigInt

type Output = BigInt

impl Div for Double[src]

type Rhs = Double

type Output = Double

impl Div for Float[src]

type Rhs = Float

type Output = Float

impl Div for Integer[src]

type Rhs = Integer

type Output = Integer

impl Div for Interval[src]

type Rhs = Integer

type Output = Interval

impl Div for Numeric[src]

type Rhs = Numeric

type Output = Numeric

impl Div for SmallInt[src]

impl<T> Div for Unsigned<T> where
    T: Div

type Rhs = Unsigned<T::Rhs>

type Output = Unsigned<T::Output>

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

type Rhs = Nullable<T::Rhs>

type Output = Nullable<T::Output>

Loading content...