pub enum Expr {
Column(&'static str),
Val(SqlVal),
Placeholder,
Condition(Box<BoolExpr>),
}Expand description
Abstract representation of a database expression.
Variants§
Column(&'static str)
A column, referenced by name.
Val(SqlVal)
A value.
Placeholder
A placeholder for a value.
Condition(Box<BoolExpr>)
A boolean condition.
Trait Implementations§
impl StructuralPartialEq for Expr
Auto Trait Implementations§
impl Freeze for Expr
impl RefUnwindSafe for Expr
impl Send for Expr
impl Sync for Expr
impl Unpin for Expr
impl UnsafeUnpin for Expr
impl UnwindSafe for Expr
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