pub enum SqlExpr<'ex, T> {
Value(T),
Expr(&'ex str),
}
Expand description
SQL Fragment
Variants§
Trait Implementations§
Source§impl<'ex, T: Ord> Ord for SqlExpr<'ex, T>
impl<'ex, T: Ord> Ord for SqlExpr<'ex, T>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'ex, T: PartialOrd> PartialOrd for SqlExpr<'ex, T>
impl<'ex, T: PartialOrd> PartialOrd for SqlExpr<'ex, T>
impl<'ex, T: Eq> Eq for SqlExpr<'ex, T>
impl<'ex, T> StructuralPartialEq for SqlExpr<'ex, T>
Auto Trait Implementations§
impl<'ex, T> Freeze for SqlExpr<'ex, T>where
T: Freeze,
impl<'ex, T> RefUnwindSafe for SqlExpr<'ex, T>where
T: RefUnwindSafe,
impl<'ex, T> Send for SqlExpr<'ex, T>where
T: Send,
impl<'ex, T> Sync for SqlExpr<'ex, T>where
T: Sync,
impl<'ex, T> Unpin for SqlExpr<'ex, T>where
T: Unpin,
impl<'ex, T> UnwindSafe for SqlExpr<'ex, 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