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

Represents SQL types which can be divided.

## Associated Types

`type Rhs`

The SQL type which this one can be divided by

`type Output`

The SQL type of the result of dividing `Self`

by `Rhs`

## Implementors

`impl Div for SmallInt type Rhs = SmallInt; type Output = SmallInt;`

`impl Div for Integer type Rhs = Integer; type Output = Integer;`

`impl Div for BigInt type Rhs = BigInt; type Output = BigInt;`

`impl Div for Float type Rhs = Float; type Output = Float;`

`impl Div for Double type Rhs = Double; type Output = Double;`

`impl Div for Numeric type Rhs = Numeric; type Output = Numeric;`

`impl Div for Interval type Rhs = Integer; type Output = Interval;`

`impl<T> Div for Nullable<T> where`

T: Div + NotNull,

T::Rhs: NotNull,

T::Output: NotNull, type Rhs = Nullable<T::Rhs>; type Output = Nullable<T::Output>;