pub enum Frame {
UnboundedPreceding,
Preceding(i64),
CurrentRow,
Following(i64),
UnboundedFollowing,
}Expand description
Frame boundary for window functions.
Defines the start or end boundary of a window frame.
Variants§
UnboundedPreceding
UNBOUNDED PRECEDING - beginning of partition.
Preceding(i64)
N PRECEDING - N rows/values before current row.
CurrentRow
CURRENT ROW - the current row.
Following(i64)
N FOLLOWING - N rows/values after current row.
UnboundedFollowing
UNBOUNDED FOLLOWING - end of partition.
Trait Implementations§
impl Eq for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
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