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: UnaryOperatorarg: Box<Expression>Fields of Binary
Fields of Relation
Literal(Literal)Tuple Fields of Literal
0: LiteralFields of QualifiableFactor
factor: QualifiableFactorqualifiers: Vec<Qualifier>Fields of EntityConstructor
name: Stringvalues: Vec<Expression>Fields of Interval
op_low: IntervalOperatorop_high: IntervalOperatorhigh: 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