pub struct WindowFunction {
pub this: Expression,
pub over: Over,
pub keep: Option<Keep>,
}Expand description
Represent a window function call with its OVER clause.
The inner this expression is typically a window-specific expression
(e.g. RowNumber, Rank, Lead) or an aggregate used as a window
function. The over field carries the PARTITION BY, ORDER BY, and
frame specification.
Fields§
§this: ExpressionThe function expression (e.g. ROW_NUMBER(), SUM(amount)).
over: OverThe OVER clause defining the window partitioning, ordering, and frame.
keep: Option<Keep>Oracle KEEP clause: KEEP (DENSE_RANK FIRST|LAST ORDER BY …)
Trait Implementations§
Source§impl Clone for WindowFunction
impl Clone for WindowFunction
Source§fn clone(&self) -> WindowFunction
fn clone(&self) -> WindowFunction
Returns a duplicate of the value. Read more
1.0.0 · 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 WindowFunction
impl Debug for WindowFunction
Source§impl<'de> Deserialize<'de> for WindowFunction
impl<'de> Deserialize<'de> for WindowFunction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WindowFunction
impl PartialEq for WindowFunction
Source§impl Serialize for WindowFunction
impl Serialize for WindowFunction
impl StructuralPartialEq for WindowFunction
Auto Trait Implementations§
impl Freeze for WindowFunction
impl RefUnwindSafe for WindowFunction
impl Send for WindowFunction
impl Sync for WindowFunction
impl Unpin for WindowFunction
impl UnwindSafe for WindowFunction
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