Trait Sub
Other items indiesel::sql_types::ops
pub trait Sub { type Rhs; type Output; }
Represents SQL types which can be subtracted.
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
Rhs
Self
impl Sub for Timestamptz
type Rhs = Interval
type Output = Timestamptz
impl Sub for BigInt
type Rhs = BigInt
type Output = BigInt
impl Sub for Date
type Output = Timestamp
impl Sub for Double
type Rhs = Double
type Output = Double
impl Sub for Float
type Rhs = Float
type Output = Float
impl Sub for Integer
type Rhs = Integer
type Output = Integer
impl Sub for Interval
type Output = Interval
impl Sub for Numeric
type Rhs = Numeric
type Output = Numeric
impl Sub for SmallInt
type Rhs = SmallInt
type Output = SmallInt
impl Sub for Time
type Output = Time
impl Sub for Timestamp
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>