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

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

Represents SQL types which can be added.

Associated Types

type Rhs: SqlType

The SQL type which can be added to this one

type Output: SqlType

The SQL type of the result of adding Rhs to Self

Loading content...

Implementors

impl Add for Cidr[src]

type Rhs = Bigint

type Output = Inet

impl Add for Inet[src]

type Rhs = Bigint

type Output = Inet

impl Add for Timestamptz[src]

impl Add for BigInt[src]

type Rhs = BigInt

type Output = BigInt

impl Add for Date[src]

impl Add for Double[src]

type Rhs = Double

type Output = Double

impl Add for Float[src]

type Rhs = Float

type Output = Float

impl Add for Integer[src]

type Rhs = Integer

type Output = Integer

impl Add for Interval[src]

impl Add for Numeric[src]

type Rhs = Numeric

type Output = Numeric

impl Add for SmallInt[src]

impl Add for Time[src]

type Rhs = Interval

type Output = Time

impl Add for Timestamp[src]

impl<T> Add for Unsigned<T> where
    T: Add
[src]

type Rhs = Unsigned<T::Rhs>

type Output = Unsigned<T::Output>

impl<T> Add for Nullable<T> where
    T: Add + 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...