pub struct Column<M, T> {
pub table: Table,
pub name: &'static str,
/* private fields */
}Fields§
§table: Table§name: &'static strImplementations§
Source§impl<M, T> Column<M, T>where
T: 'static,
impl<M, T> Column<M, 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_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 ne<V>(self, value: V) -> Expr<bool>where
V: ColumnValue<T>,
pub fn lt<V>(self, value: V) -> Expr<bool>
pub fn lt_col<M2>(self, other: Column<M2, T>) -> Expr<bool>
pub fn le<V>(self, value: V) -> Expr<bool>
pub fn le_col<M2>(self, other: Column<M2, T>) -> Expr<bool>
pub fn gt<V>(self, value: V) -> Expr<bool>
pub fn gt_col<M2>(self, other: Column<M2, T>) -> Expr<bool>
pub fn ge<V>(self, value: V) -> Expr<bool>
pub fn ge_col<M2>(self, other: Column<M2, T>) -> Expr<bool>
pub fn between<L, U>(self, low: L, high: U) -> Expr<bool>
pub fn like<V>(self, pattern: V) -> Expr<bool>
pub fn ilike<V>(self, pattern: V) -> Expr<bool>
pub fn in_<I, V>(self, values: I) -> Expr<bool>
pub fn is_null(self) -> Expr<bool>
pub fn is_not_null(self) -> Expr<bool>
Trait Implementations§
Source§impl<M, T> ConflictColumns<M> for Column<M, T>
impl<M, T> ConflictColumns<M> for Column<M, T>
fn into_columns(self) -> Vec<ColumnRef>
Source§impl<M, T> ExprOperand for Column<M, T>
impl<M, T> ExprOperand for Column<M, T>
Source§impl<M, T> IntoOrderExpr for Column<M, T>
impl<M, T> IntoOrderExpr for Column<M, T>
fn into_order_expr(self) -> OrderExpr
impl<M: Copy, T: Copy> Copy for Column<M, T>
Auto Trait Implementations§
impl<M, T> Freeze for Column<M, T>
impl<M, T> RefUnwindSafe for Column<M, T>where
M: RefUnwindSafe,
T: RefUnwindSafe,
impl<M, T> Send for Column<M, T>
impl<M, T> Sync for Column<M, T>
impl<M, T> Unpin for Column<M, T>
impl<M, T> UnsafeUnpin for Column<M, T>
impl<M, T> UnwindSafe for Column<M, T>where
M: UnwindSafe,
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