pub enum WindowBound {
UnboundedPreceding,
Preceding(ExprRef),
CurrentRow,
Following(ExprRef),
UnboundedFollowing,
}Expand description
One end of a window frame.
Variants§
UnboundedPreceding
UNBOUNDED PRECEDING, the first row of the partition.
Preceding(ExprRef)
n PRECEDING, holding the offset expression.
CurrentRow
CURRENT ROW.
Following(ExprRef)
n FOLLOWING, holding the offset expression.
UnboundedFollowing
UNBOUNDED FOLLOWING, the last row of the partition.
Trait Implementations§
Source§impl Clone for WindowBound
impl Clone for WindowBound
Source§fn clone(&self) -> WindowBound
fn clone(&self) -> WindowBound
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 WindowBound
Source§impl Debug for WindowBound
impl Debug for WindowBound
impl Eq for WindowBound
Source§impl PartialEq for WindowBound
impl PartialEq for WindowBound
impl StructuralPartialEq for WindowBound
Auto Trait Implementations§
impl Freeze for WindowBound
impl RefUnwindSafe for WindowBound
impl Send for WindowBound
impl Sync for WindowBound
impl Unpin for WindowBound
impl UnsafeUnpin for WindowBound
impl UnwindSafe for WindowBound
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