pub struct Column<T: ToSql + Sync> { /* private fields */ }Implementations§
source§impl<T: ToSql + Sync + Send + 'static> Column<T>
impl<T: ToSql + Sync + Send + 'static> Column<T>
pub const fn new(name: &'static str) -> Column<T>
sourcepub fn eq(&self, value: impl Into<T>) -> Filter
pub fn eq(&self, value: impl Into<T>) -> Filter
Check whether the columns value is equal to value.
Translates to WHERE <column_name> = <value>.
sourcepub fn neq(&self, value: impl Into<T>) -> Filter
pub fn neq(&self, value: impl Into<T>) -> Filter
Check whether the columns value is not equalt to value
Tranlates to WHERE <column_name> != <value>.
Auto Trait Implementations§
impl<T> RefUnwindSafe for Column<T>where T: RefUnwindSafe,
impl<T> Send for Column<T>where T: Send,
impl<T> Sync for Column<T>
impl<T> Unpin for Column<T>where T: Unpin,
impl<T> UnwindSafe for Column<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