Trait diesel::sql_types::ops::Sub [−][src]
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
Implementors
impl Sub for SmallInt type Rhs = SmallInt; type Output = SmallInt;
impl Sub for Integer type Rhs = Integer; type Output = Integer;
impl Sub for BigInt type Rhs = BigInt; type Output = BigInt;
impl Sub for Float type Rhs = Float; type Output = Float;
impl Sub for Double type Rhs = Double; type Output = Double;
impl Sub for Numeric type Rhs = Numeric; type Output = Numeric;
impl Sub for Time type Rhs = Interval; type Output = Time;
impl Sub for Date type Rhs = Interval; type Output = Timestamp;
impl Sub for Timestamp type Rhs = Interval; type Output = Timestamp;
impl Sub for Interval type Rhs = Interval; type Output = Interval;
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>;impl Sub for Timestamptz type Rhs = Interval; type Output = Timestamptz;