pub enum Expr {
Show 15 variants
Identifier(String),
QualifiedIdentifier(String, String),
IntegerLiteral(i64),
FloatLiteral(f64),
StringLiteral(String),
BoolLiteral(bool),
Null,
BinaryOp {
left: Box<Expr>,
op: BinaryOp,
right: Box<Expr>,
},
UnaryOp {
op: UnaryOp,
expr: Box<Expr>,
},
FunctionCall {
name: String,
args: Vec<Expr>,
},
Between {
expr: Box<Expr>,
low: Box<Expr>,
high: Box<Expr>,
negated: bool,
},
InList {
expr: Box<Expr>,
list: Vec<Expr>,
negated: bool,
},
IsNull {
expr: Box<Expr>,
negated: bool,
},
Cast {
expr: Box<Expr>,
data_type: SqlType,
},
Nested(Box<Expr>),
}Variants§
Identifier(String)
QualifiedIdentifier(String, String)
IntegerLiteral(i64)
FloatLiteral(f64)
StringLiteral(String)
BoolLiteral(bool)
Null
BinaryOp
UnaryOp
FunctionCall
Between
InList
IsNull
Cast
Nested(Box<Expr>)
Trait Implementations§
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