pub enum WindowFrameExclusion {
CurrentRow,
Group,
Ties,
NoOthers,
}Expand description
The SQL window frame exclusion forms represented by the AST.
Variants§
CurrentRow
EXCLUDE CURRENT ROW — omit the current row from the frame.
Group
EXCLUDE GROUP — omit the current row and its peers.
Ties
EXCLUDE TIES — omit the current row’s peers but keep the current row.
NoOthers
EXCLUDE NO OTHERS — the default; exclude nothing.
Trait Implementations§
Source§impl Clone for WindowFrameExclusion
impl Clone for WindowFrameExclusion
Source§fn clone(&self) -> WindowFrameExclusion
fn clone(&self) -> WindowFrameExclusion
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 WindowFrameExclusion
Source§impl Debug for WindowFrameExclusion
impl Debug for WindowFrameExclusion
Source§impl<'de> Deserialize<'de> for WindowFrameExclusion
impl<'de> Deserialize<'de> for WindowFrameExclusion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WindowFrameExclusion
Source§impl Hash for WindowFrameExclusion
impl Hash for WindowFrameExclusion
Source§impl PartialEq for WindowFrameExclusion
impl PartialEq for WindowFrameExclusion
Source§impl Render for WindowFrameExclusion
impl Render for WindowFrameExclusion
Source§fn render(&self, _ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
fn render(&self, _ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
Return the render for this value.
Source§fn operand_binding_power(&self) -> Option<BindingPower>
fn operand_binding_power(&self) -> Option<BindingPower>
The binding power this node contributes when it appears as an operand, or
None (the default) for a self-delimiting node — an atom, call, or
constructor — that never needs parentheses. Read moreSource§impl Serialize for WindowFrameExclusion
impl Serialize for WindowFrameExclusion
impl StructuralPartialEq for WindowFrameExclusion
Auto Trait Implementations§
impl Freeze for WindowFrameExclusion
impl RefUnwindSafe for WindowFrameExclusion
impl Send for WindowFrameExclusion
impl Sync for WindowFrameExclusion
impl Unpin for WindowFrameExclusion
impl UnsafeUnpin for WindowFrameExclusion
impl UnwindSafe for WindowFrameExclusion
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