pub struct UnaryOp<V: Expression> {
pub op: UnaryOpType,
pub arg: V,
}Fields§
§op: UnaryOpType§arg: VTrait Implementations§
Source§impl<E: Expression> Expression for UnaryOp<E>
impl<E: Expression> Expression for UnaryOp<E>
fn write_query( &self, writer: &dyn SqlWriter, context: Context, buff: &mut String, )
fn is_ordered(&self) -> bool
Source§impl<E: Expression> OpPrecedence for UnaryOp<E>
impl<E: Expression> OpPrecedence for UnaryOp<E>
fn precedence(&self, writer: &dyn SqlWriter) -> i32
Auto Trait Implementations§
impl<V> Freeze for UnaryOp<V>where
V: Freeze,
impl<V> RefUnwindSafe for UnaryOp<V>where
V: RefUnwindSafe,
impl<V> Send for UnaryOp<V>
impl<V> Sync for UnaryOp<V>
impl<V> Unpin for UnaryOp<V>where
V: Unpin,
impl<V> UnwindSafe for UnaryOp<V>where
V: 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