Struct sql_from_models_parser::ast::BinaryOp
source · pub struct BinaryOp {
pub left: Box<Expr>,
pub op: BinaryOperator,
pub right: Box<Expr>,
}
Expand description
Binary operation e.g. 1 + 1
or foo > bar
Fields§
§left: Box<Expr>
§op: BinaryOperator
§right: Box<Expr>
Trait Implementations§
source§impl PartialEq for BinaryOp
impl PartialEq for BinaryOp
impl Eq for BinaryOp
impl StructuralPartialEq for BinaryOp
Auto Trait Implementations§
impl RefUnwindSafe for BinaryOp
impl Send for BinaryOp
impl Sync for BinaryOp
impl Unpin for BinaryOp
impl UnwindSafe for BinaryOp
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