pub enum Expr {
Case(Case),
And(Vec<Expr>),
Raw(String),
NotDistinctFrom(Box<Expr>, Box<Expr>),
Column {
schema: Option<String>,
table: Option<String>,
column: String,
},
BinOp(Operation, Box<Expr>, Box<Expr>),
}
Variants§
Case(Case)
And(Vec<Expr>)
Raw(String)
NotDistinctFrom(Box<Expr>, Box<Expr>)
Column
BinOp(Operation, Box<Expr>, Box<Expr>)
Implementations§
Source§impl Expr
impl Expr
pub fn excluded(column: &str) -> Self
pub fn column(column: &str) -> Self
pub fn new_eq<L: Into<Expr>, R: Into<Expr>>(left: L, right: R) -> Self
pub fn table_column(table: &str, column: &str) -> Self
pub fn schema_column(schema: &str, table: &str, column: &str) -> Self
pub fn new_and(and: Vec<Expr>) -> Self
pub fn case(case: Case) -> Self
pub fn not_distinct_from<L: Into<Expr>, R: Into<Expr>>( left: L, right: R, ) -> Self
Trait Implementations§
impl Eq for Expr
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 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