pub struct Window {
pub base: Option<NameId>,
pub partition_by: Vec<ExprId>,
pub order_by: Vec<OrderTerm>,
pub unit: Option<FrameUnit>,
pub start: Option<FrameBound>,
pub end: Option<FrameBound>,
pub exclude: FrameExclude,
pub span: Span,
}Expand description
A window definition, named or inline.
Fields§
§base: Option<NameId>The window this one inherits from, when written.
partition_by: Vec<ExprId>PARTITION BY.
order_by: Vec<OrderTerm>ORDER BY.
unit: Option<FrameUnit>The frame unit, when a frame was written.
start: Option<FrameBound>The frame start.
end: Option<FrameBound>The frame end.
exclude: FrameExcludeThe EXCLUDE clause.
span: SpanThe span of the definition.
Trait Implementations§
impl Eq for Window
impl StructuralPartialEq for Window
Auto Trait Implementations§
impl Freeze for Window
impl RefUnwindSafe for Window
impl Send for Window
impl Sync for Window
impl Unpin for Window
impl UnsafeUnpin for Window
impl UnwindSafe for Window
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