pub struct Field<T, A> { /* private fields */ }
Implementations§
Source§impl<T, A> Field<T, A>where
T: Table,
impl<T, A> Field<T, A>where
T: Table,
pub fn new(name: &'static str) -> Self
pub fn eq<U>(self, rhs: U) -> Op<T, A, U, Eq>
pub fn neq<U>(self, rhs: U) -> Op<T, A, U, Neq>
pub fn gt<U>(self, rhs: U) -> Op<T, A, U, Gt>
pub fn lt<U>(self, rhs: U) -> Op<T, A, U, Lt>
pub fn then<T2>(self, next: T2) -> Then<Self, T2>
pub fn ascending(self) -> Ordered<T, A, Ascending>
pub fn descending(self) -> Ordered<T, A, Descending>
Trait Implementations§
Source§impl<T, A> GroupOrder for Field<T, A>where
T: Table,
impl<T, A> GroupOrder for Field<T, A>where
T: Table,
fn write_columns(&self, sql: &mut String)
impl<T, A> Copy for Field<T, A>
Auto Trait Implementations§
impl<T, A> Freeze for Field<T, A>
impl<T, A> RefUnwindSafe for Field<T, A>where
T: RefUnwindSafe,
A: RefUnwindSafe,
impl<T, A> Send for Field<T, A>
impl<T, A> Sync for Field<T, A>
impl<T, A> Unpin for Field<T, A>
impl<T, A> UnwindSafe for Field<T, A>where
T: UnwindSafe,
A: 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> 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 moreSource§impl<T> Query for T
impl<T> Query for T
Source§fn select(self) -> SelectStatement<Self, WildCard>where
Self: Selectable,
fn select(self) -> SelectStatement<Self, WildCard>where
Self: Selectable,
Examples Read more
Source§fn query<Q>(self, query: Q) -> SelectStatement<Self, Q>where
Self: Selectable,
Q: WriteQueryable,
fn query<Q>(self, query: Q) -> SelectStatement<Self, Q>where
Self: Selectable,
Q: WriteQueryable,
Examples Read more