pub struct Expr<T> {
pub node: ExprNode,
/* private fields */
}Fields§
§node: ExprNodeImplementations§
Source§impl<T> Expr<T>where
T: 'static,
impl<T> Expr<T>where
T: 'static,
pub fn eq<V>(self, value: V) -> Expr<bool>where
V: ColumnValue<T>,
pub fn eq_col<M2>(self, other: Column<M2, T>) -> Expr<bool>
pub fn ne<V>(self, value: V) -> Expr<bool>where
V: ColumnValue<T>,
pub fn ne_col<M2>(self, other: Column<M2, T>) -> Expr<bool>
pub fn is_distinct_from_col<M2>(self, other: Column<M2, T>) -> Expr<bool>
pub fn is_not_distinct_from_col<M2>(self, other: Column<M2, T>) -> Expr<bool>
pub fn lt<V>(self, value: V) -> Expr<bool>where
V: ColumnValue<T>,
pub fn lt_col<M2>(self, other: Column<M2, T>) -> Expr<bool>
pub fn le<V>(self, value: V) -> Expr<bool>where
V: ColumnValue<T>,
pub fn le_col<M2>(self, other: Column<M2, T>) -> Expr<bool>
pub fn gt<V>(self, value: V) -> Expr<bool>where
V: ColumnValue<T>,
pub fn gt_col<M2>(self, other: Column<M2, T>) -> Expr<bool>
pub fn ge<V>(self, value: V) -> Expr<bool>where
V: ColumnValue<T>,
pub fn ge_col<M2>(self, other: Column<M2, T>) -> Expr<bool>
pub fn between<L, U>(self, low: L, high: U) -> Expr<bool>where
L: ColumnValue<T>,
U: ColumnValue<T>,
pub fn like<V>(self, pattern: V) -> Expr<bool>where
V: ColumnValue<T>,
pub fn ilike<V>(self, pattern: V) -> Expr<bool>where
V: ColumnValue<T>,
pub fn is_null(self) -> Expr<bool>
pub fn is_not_null(self) -> Expr<bool>
pub fn in_<I, V>(self, values: I) -> Expr<bool>where
I: IntoIterator<Item = V>,
V: ColumnValue<T>,
Trait Implementations§
Source§impl<T> ExprOperand for Expr<T>
impl<T> ExprOperand for Expr<T>
Source§impl<T> IntoOrderExpr for Expr<T>
impl<T> IntoOrderExpr for Expr<T>
fn into_order_expr(self) -> OrderExpr
Auto Trait Implementations§
impl<T> Freeze for Expr<T>
impl<T> RefUnwindSafe for Expr<T>where
T: RefUnwindSafe,
impl<T> Send for Expr<T>where
T: Send,
impl<T> Sync for Expr<T>where
T: Sync,
impl<T> Unpin for Expr<T>where
T: Unpin,
impl<T> UnsafeUnpin for Expr<T>
impl<T> UnwindSafe for Expr<T>where
T: UnwindSafe,
Blanket Implementations§
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more