pub enum WindowFuncKind {
RowNumber,
Rank,
DenseRank,
Lag,
Lead,
Sum,
Count,
Avg,
Min,
Max,
}Expand description
Kinds of window function supported by linq!(window ...).
Ranking functions (RowNumber, Rank, DenseRank) take no column
argument; aggregate functions (Sum, Count, …) and offset functions
(Lag, Lead) take a single column argument.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for WindowFuncKind
impl Clone for WindowFuncKind
Source§fn clone(&self) -> WindowFuncKind
fn clone(&self) -> WindowFuncKind
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 moreimpl Copy for WindowFuncKind
Source§impl Debug for WindowFuncKind
impl Debug for WindowFuncKind
impl Eq for WindowFuncKind
Source§impl PartialEq for WindowFuncKind
impl PartialEq for WindowFuncKind
Source§fn eq(&self, other: &WindowFuncKind) -> bool
fn eq(&self, other: &WindowFuncKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WindowFuncKind
Auto Trait Implementations§
impl Freeze for WindowFuncKind
impl RefUnwindSafe for WindowFuncKind
impl Send for WindowFuncKind
impl Sync for WindowFuncKind
impl Unpin for WindowFuncKind
impl UnsafeUnpin for WindowFuncKind
impl UnwindSafe for WindowFuncKind
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