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

pub trait Sub {
    type Rhs;
    type Output;

Represents SQL types which can be subtracted.

Associated Types

type Rhs

The SQL type which can be subtracted from this one

type Output

The SQL type of the result of subtracting Rhs from Self

Loading content...


impl Sub for Timestamptz[src]

impl Sub for BigInt[src]

type Rhs = BigInt

type Output = BigInt

impl Sub for Date[src]

impl Sub for Double[src]

type Rhs = Double

type Output = Double

impl Sub for Float[src]

type Rhs = Float

type Output = Float

impl Sub for Integer[src]

type Rhs = Integer

type Output = Integer

impl Sub for Interval[src]

impl Sub for Numeric[src]

type Rhs = Numeric

type Output = Numeric

impl Sub for SmallInt[src]

impl Sub for Time[src]

type Rhs = Interval

type Output = Time

impl Sub for Timestamp[src]

impl<T> Sub for Nullable<T> where
    T: Sub + NotNull,
    T::Rhs: NotNull,
    T::Output: NotNull

type Rhs = Nullable<T::Rhs>

type Output = Nullable<T::Output>

Loading content...