Module diesel::expression::helper_types [] [src]

The types in this module are all shorthand for PredicateType<Lhs, AsExpr<Rhs, Lhs>>. Since we often need to return concrete types, instead of a boxed trait object, these can be useful for writing concise return types.

Type Definitions

And

The return type of lhs.and(rhs)

AsExpr

The type of Item when converted to an expression with the same type as TargetExpr

AsExprOf

The type of Item when converted to an expression of Type

Between

The return type of lhs.between(lower, upper)

Eq

The return type of lhs.eq(rhs)

EqAny

The return type of lhs.eq_any(rhs)

Gt

The return type of lhs.gt(rhs)

GtEq

The return type of lhs.ge(rhs)

Like

The return type of lhs.like(rhs)

Lt

The return type of lhs.lt(rhs)

LtEq

The return type of lhs.le(rhs)

Not

The return type of not(expr)

NotBetween

The return type of lhs.not_between(lower, upper)

NotEq

The return type of lhs.ne(rhs)

NotLike

The return type of lhs.not_like(rhs)

SqlTypeOf

The SQL type of an expression