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 ne<V>(self, value: V) -> Expr<bool>where
V: ColumnValue<T>,
pub fn lt<V>(self, value: V) -> Expr<bool>where
V: ColumnValue<T>,
pub fn le<V>(self, value: V) -> Expr<bool>where
V: ColumnValue<T>,
pub fn gt<V>(self, value: V) -> Expr<bool>where
V: ColumnValue<T>,
pub fn ge<V>(self, value: V) -> Expr<bool>where
V: ColumnValue<T>,
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> 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> 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