pub struct WindowFunctionDef {
pub name: String,
pub args: Vec<String>,
pub partition_by: Vec<String>,
pub order_by: Vec<SortExpr>,
pub alias: String,
}Expand description
A single window-function definition extracted from a SELECT projection.
Fields§
§name: StringThe function name (e.g. ROW_NUMBER, RANK).
args: Vec<String>The function arguments rendered as strings.
partition_by: Vec<String>PARTITION BY expressions rendered as strings.
order_by: Vec<SortExpr>ORDER BY keys.
alias: StringThe alias applied to the expression in the projection.
Trait Implementations§
Source§impl Clone for WindowFunctionDef
impl Clone for WindowFunctionDef
Source§fn clone(&self) -> WindowFunctionDef
fn clone(&self) -> WindowFunctionDef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WindowFunctionDef
impl Debug for WindowFunctionDef
Source§impl PartialEq for WindowFunctionDef
impl PartialEq for WindowFunctionDef
Source§fn eq(&self, other: &WindowFunctionDef) -> bool
fn eq(&self, other: &WindowFunctionDef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WindowFunctionDef
Auto Trait Implementations§
impl Freeze for WindowFunctionDef
impl RefUnwindSafe for WindowFunctionDef
impl Send for WindowFunctionDef
impl Sync for WindowFunctionDef
impl Unpin for WindowFunctionDef
impl UnsafeUnpin for WindowFunctionDef
impl UnwindSafe for WindowFunctionDef
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