pub enum FrameBound {
UnboundedPreceding,
Preceding(u64),
CurrentRow,
Following(u64),
UnboundedFollowing,
}Expand description
One end of a window frame, for WindowSpec::rows_between and
WindowSpec::range_between.
Variants§
UnboundedPreceding
UNBOUNDED PRECEDING: the first row of the partition.
Preceding(u64)
n PRECEDING: n rows (or, for RANGE, values) before the current row.
CurrentRow
CURRENT ROW.
Following(u64)
n FOLLOWING: n rows (or, for RANGE, values) after the current row.
UnboundedFollowing
UNBOUNDED FOLLOWING: the last row of the partition.
Trait Implementations§
Source§impl Clone for FrameBound
impl Clone for FrameBound
impl Copy for FrameBound
Auto Trait Implementations§
impl Freeze for FrameBound
impl RefUnwindSafe for FrameBound
impl Send for FrameBound
impl Sync for FrameBound
impl Unpin for FrameBound
impl UnsafeUnpin for FrameBound
impl UnwindSafe for FrameBound
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