pub struct FieldRef<M, T> { /* private fields */ }Implementations§
Source§impl<M, T> FieldRef<M, T>
impl<M, T> FieldRef<M, T>
pub const fn new(column: &'static str) -> Self
pub fn asc(self) -> OrderClause
pub fn desc(self) -> OrderClause
Source§impl<M, T> FieldRef<M, T>
impl<M, T> FieldRef<M, T>
pub fn eq<V>(self, value: V) -> Filterwhere
V: IntoSqlValue,
pub fn ne<V>(self, value: V) -> Filterwhere
V: IntoSqlValue,
pub fn in_<I, V>(self, values: I) -> Filterwhere
I: IntoIterator<Item = V>,
V: IntoSqlValue,
pub fn lt<V>(self, value: V) -> Filterwhere
V: IntoSqlValue,
pub fn lte<V>(self, value: V) -> Filterwhere
V: IntoSqlValue,
pub fn gt<V>(self, value: V) -> Filterwhere
V: IntoSqlValue,
pub fn gte<V>(self, value: V) -> Filterwhere
V: IntoSqlValue,
Trait Implementations§
impl<M: Copy, T: Copy> Copy for FieldRef<M, T>
Auto Trait Implementations§
impl<M, T> Freeze for FieldRef<M, T>
impl<M, T> RefUnwindSafe for FieldRef<M, T>
impl<M, T> Send for FieldRef<M, T>
impl<M, T> Sync for FieldRef<M, T>
impl<M, T> Unpin for FieldRef<M, T>
impl<M, T> UnsafeUnpin for FieldRef<M, T>
impl<M, T> UnwindSafe for FieldRef<M, T>
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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