Enum espr::ast::Expression [−][src]
pub enum Expression {
Unary {
op: UnaryOperator,
arg: Box<Expression>,
},
Binary {
op: BinaryOperator,
arg1: Box<Expression>,
arg2: Box<Expression>,
},
Relation {
op: RelationOperator,
lhs: Box<Expression>,
rhs: Box<Expression>,
},
Literal(Literal),
QualifiableFactor {
factor: QualifiableFactor,
qualifiers: Vec<Qualifier>,
},
EntityConstructor {
name: String,
values: Vec<Expression>,
},
Interval {
op_low: IntervalOperator,
op_high: IntervalOperator,
high: Box<Expression>,
low: Box<Expression>,
item: Box<Expression>,
},
EnumerationReference {
ty: Option<String>,
enum_ref: String,
},
AggregateInitializer {
elements: Vec<Element>,
},
Query {
variable: String,
source: Box<Expression>,
expr: Box<Expression>,
},
}
Variants
Fields of Unary
op: UnaryOperator
arg: Box<Expression>
Fields of Binary
Fields of Relation
Literal(Literal)
Tuple Fields of Literal
0: Literal
Fields of QualifiableFactor
factor: QualifiableFactor
qualifiers: Vec<Qualifier>
Fields of EntityConstructor
name: String
values: Vec<Expression>
Fields of Interval
op_low: IntervalOperator
op_high: IntervalOperator
high: Box<Expression>
low: Box<Expression>
item: Box<Expression>
Fields of Query
Implementations
SELF
constant with qualifiers
?
constant
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Expression
impl Send for Expression
impl Sync for Expression
impl Unpin for Expression
impl UnwindSafe for Expression
Blanket Implementations
Mutably borrows from an owned value. Read more