pub struct NullIf<L, R> { /* private fields */ }Expand description
Emits nullif(left, right).
Trait Implementations§
Source§impl<'e, L, R> AsExpression<<L as Expression>::Type> for NullIf<L, R>
impl<'e, L, R> AsExpression<<L as Expression>::Type> for NullIf<L, R>
Source§type Expression<'s> = &'s NullIf<L, R>
where
NullIf<L, R>: 's
type Expression<'s> = &'s NullIf<L, R> where NullIf<L, R>: 's
Concrete expression type returned for a borrowed value.
Source§fn as_expression<'s>(
&'s self,
) -> <NullIf<L, R> as AsExpression<<L as Expression>::Type>>::Expression<'s>
fn as_expression<'s>( &'s self, ) -> <NullIf<L, R> as AsExpression<<L as Expression>::Type>>::Expression<'s>
Borrows
self as a typed expression.Source§impl<L, R> Expression for NullIf<L, R>
impl<L, R> Expression for NullIf<L, R>
Auto Trait Implementations§
impl<L, R> Freeze for NullIf<L, R>
impl<L, R> RefUnwindSafe for NullIf<L, R>where
L: RefUnwindSafe,
R: RefUnwindSafe,
impl<L, R> Send for NullIf<L, R>
impl<L, R> Sync for NullIf<L, R>
impl<L, R> Unpin for NullIf<L, R>
impl<L, R> UnsafeUnpin for NullIf<L, R>where
L: UnsafeUnpin,
R: UnsafeUnpin,
impl<L, R> UnwindSafe for NullIf<L, R>where
L: UnwindSafe,
R: UnwindSafe,
Blanket Implementations§
Source§impl<T> Alias for Twhere
T: LowerProject,
impl<T> Alias for Twhere
T: LowerProject,
Source§impl<T, V> BetweenExt<T> for Vwhere
T: Orderable,
V: Expression<Type = T>,
impl<T, V> BetweenExt<T> for Vwhere
T: Orderable,
V: Expression<Type = T>,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<E> DateExt for Ewhere
E: Expression<Type = Date>,
impl<E> DateExt for Ewhere
E: Expression<Type = Date>,
fn year(self) -> YearExtract<Self, DateSource>
fn month(self) -> MonthExtract<Self, DateSource>
fn day(self) -> DayExtract<Self, DateSource>
Source§impl<E> DateRelativeExt for Ewhere
E: Expression<Type = Date>,
impl<E> DateRelativeExt for Ewhere
E: Expression<Type = Date>,
fn past(self) -> Binary<Lt, Self, CurrentDate>
fn future(self) -> Binary<Gt, Self, CurrentDate>
fn today(self) -> Binary<Eq, Self, CurrentDate>
fn before_today(self) -> Binary<Lt, Self, CurrentDate>
fn after_today(self) -> Binary<Gt, Self, CurrentDate>
Source§impl<T, V> EqExt<T> for Vwhere
T: Comparable,
V: Expression<Type = T>,
impl<T, V> EqExt<T> for Vwhere
T: Comparable,
V: Expression<Type = T>,
Source§impl<E> In for Ewhere
E: Expression,
impl<E> In for Ewhere
E: Expression,
Source§impl<T, V> IsPredicate<T> for Vwhere
T: Boolean,
V: Expression<Type = T>,
impl<T, V> IsPredicate<T> for Vwhere
T: Boolean,
V: Expression<Type = T>,
Source§impl<T, V> LikeExt<T> for Vwhere
T: Likeable,
V: Expression<Type = T>,
impl<T, V> LikeExt<T> for Vwhere
T: Likeable,
V: Expression<Type = T>,
Source§impl<E> LowerAggregate for Ewhere
E: Expression,
impl<E> LowerAggregate for Ewhere
E: Expression,
fn lower_aggregate(self, ctx: &mut LowerCtx<'_>)
Source§impl<E> LowerCount for Ewhere
E: LowerAggregate,
impl<E> LowerCount for Ewhere
E: LowerAggregate,
fn lower_count(self, ctx: &mut LowerCtx<'_>)
Source§impl<E> LowerGroupBy for Ewhere
E: Expression,
impl<E> LowerGroupBy for Ewhere
E: Expression,
Source§fn lower_group_by(self, ctx: &mut LowerCtx<'_>)
fn lower_group_by(self, ctx: &mut LowerCtx<'_>)
Appends the grouping node or nodes to the lowering context.
Source§impl<E> LowerOrderBy for Ewhere
E: Expression,
impl<E> LowerOrderBy for Ewhere
E: Expression,
Source§fn lower_order_by(self, ctx: &mut LowerCtx<'_>)
fn lower_order_by(self, ctx: &mut LowerCtx<'_>)
Appends the ordering node or nodes to the lowering context.
Source§impl<E> LowerProject for Ewhere
E: Expression,
impl<E> LowerProject for Ewhere
E: Expression,
Source§fn lower_project(self, ctx: &mut LowerCtx<'_>)
fn lower_project(self, ctx: &mut LowerCtx<'_>)
Appends the projection to the lowering context.