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

pub trait Sub {
    type Rhs: SqlType;
    type Output: SqlType;
}

Represents SQL types which can be subtracted.

Associated Types

type Rhs: SqlType

The SQL type which can be subtracted from this one

type Output: SqlType

The SQL type of the result of subtracting Rhs from Self

Loading content...

Implementors

impl Sub for Cidr[src]

type Rhs = Bigint

type Output = Inet

impl Sub for Inet[src]

type Rhs = Bigint

type Output = Inet

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 Unsigned<T> where
    T: Sub
[src]

type Rhs = Unsigned<T::Rhs>

type Output = Unsigned<T::Output>

impl<T> Sub for Nullable<T> where
    T: Sub + SqlType<IsNull = NotNull>,
    T::Rhs: SqlType<IsNull = NotNull>,
    T::Output: SqlType<IsNull = NotNull>, 
[src]

type Rhs = Nullable<T::Rhs>

type Output = Nullable<T::Output>

Loading content...