pub struct BinaryOp<L: Expression, R: Expression> {
pub op: BinaryOpType,
pub lhs: L,
pub rhs: R,
}
Fields§
§op: BinaryOpType
§lhs: L
§rhs: R
Trait Implementations§
Source§impl<L: Debug + Expression, R: Debug + Expression> Debug for BinaryOp<L, R>
impl<L: Debug + Expression, R: Debug + Expression> Debug for BinaryOp<L, R>
Source§impl<L: Expression, R: Expression> Expression for BinaryOp<L, R>
impl<L: Expression, R: Expression> Expression for BinaryOp<L, R>
fn write_query( &self, writer: &dyn SqlWriter, context: &mut Context, buff: &mut String, )
fn is_ordered(&self) -> bool
Source§impl<L: Expression, R: Expression> OpPrecedence for BinaryOp<L, R>
impl<L: Expression, R: Expression> OpPrecedence for BinaryOp<L, R>
fn precedence(&self, writer: &dyn SqlWriter) -> i32
Auto Trait Implementations§
impl<L, R> Freeze for BinaryOp<L, R>
impl<L, R> RefUnwindSafe for BinaryOp<L, R>where
L: RefUnwindSafe,
R: RefUnwindSafe,
impl<L, R> Send for BinaryOp<L, R>
impl<L, R> Sync for BinaryOp<L, R>
impl<L, R> Unpin for BinaryOp<L, R>
impl<L, R> UnwindSafe for BinaryOp<L, R>where
L: UnwindSafe,
R: UnwindSafe,
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