pub struct Unary {
pub operator: String,
pub operand: Box<Expression>,
pub prefix: bool,
}Expand description
A unary operation: operator (operand) when prefix, else
operand operator (IS NULL, IS NOT NULL).
PHP: Utopia\Query\AST\Expression\Unary (operator, operand, prefix).
Fields§
§operator: StringThe operator.
operand: Box<Expression>The operand.
prefix: boolWhether the operator comes first.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Unary
Auto Trait Implementations§
impl Forget for Unary
impl Freeze for Unary
impl Move for Unary
impl RefUnwindSafe for Unary
impl Send for Unary
impl Sync for Unary
impl Unpin for Unary
impl UnsafeUnpin for Unary
impl UnwindSafe for Unary
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