pub struct Window {
pub function: Box<Expression>,
pub window_name: Option<String>,
pub specification: Option<Box<WindowSpecification>>,
}Expand description
A window function call: function OVER name or function OVER (specification).
PHP: Utopia\Query\AST\Expression\Window (function, windowName, specification).
Fields§
§function: Box<Expression>The function.
window_name: Option<String>A named window (OVER w).
specification: Option<Box<WindowSpecification>>An inline window (OVER (...)), boxed to keep Expression small.
Trait Implementations§
Source§impl From<Window> for Expression
impl From<Window> for Expression
impl StructuralPartialEq for Window
Auto Trait Implementations§
impl Forget for Window
impl Freeze for Windowwhere
*const Expression is !null: Freeze,
PhantomData<Expression>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const WindowSpecification is !null: Freeze,
PhantomData<WindowSpecification>: Freeze,
impl Move for Window
impl RefUnwindSafe for Windowwhere
Atomic<*mut ()>: RefUnwindSafe,
Atomic<usize>: RefUnwindSafe,
OnceLock<Index>: RefUnwindSafe,
Atomic<u8>: RefUnwindSafe,
impl Send for Window
impl Sync for Window
impl Unpin for Window
impl UnsafeUnpin for Windowwhere
*const Expression is !null: UnsafeUnpin,
PhantomData<Expression>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const WindowSpecification is !null: UnsafeUnpin,
PhantomData<WindowSpecification>: UnsafeUnpin,
impl UnwindSafe for Windowwhere
BoxRaw<Expression>: UnwindSafe,
RawVecInner: UnwindSafe,
BoxRaw<WindowSpecification>: 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