Enum sqlparser::ast::WindowFrameBound
source · [−]pub enum WindowFrameBound {
CurrentRow,
Preceding(Option<Box<Expr>>),
Following(Option<Box<Expr>>),
}
Expand description
Specifies WindowFrame’s start_bound
and end_bound
Variants
CurrentRow
CURRENT ROW
Preceding(Option<Box<Expr>>)
<N> PRECEDING
or UNBOUNDED PRECEDING
Following(Option<Box<Expr>>)
<N> FOLLOWING
or UNBOUNDED FOLLOWING
.
Trait Implementations
sourceimpl Clone for WindowFrameBound
impl Clone for WindowFrameBound
sourcefn clone(&self) -> WindowFrameBound
fn clone(&self) -> WindowFrameBound
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for WindowFrameBound
impl Debug for WindowFrameBound
sourceimpl Display for WindowFrameBound
impl Display for WindowFrameBound
sourceimpl Hash for WindowFrameBound
impl Hash for WindowFrameBound
sourceimpl PartialEq<WindowFrameBound> for WindowFrameBound
impl PartialEq<WindowFrameBound> for WindowFrameBound
sourcefn eq(&self, other: &WindowFrameBound) -> bool
fn eq(&self, other: &WindowFrameBound) -> bool
impl Eq for WindowFrameBound
impl StructuralEq for WindowFrameBound
impl StructuralPartialEq for WindowFrameBound
Auto Trait Implementations
impl RefUnwindSafe for WindowFrameBound
impl Send for WindowFrameBound
impl Sync for WindowFrameBound
impl Unpin for WindowFrameBound
impl UnwindSafe for WindowFrameBound
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more