pub enum WindowFrameUnits {
Rows,
Range,
Groups,
}Expand description
The SQL window frame units forms represented by the AST.
Variants§
Rows
ROWS — the frame is counted in physical rows.
Range
RANGE — the frame spans rows with peer ordering-key values.
Groups
GROUPS — the frame is counted in peer groups.
Trait Implementations§
Source§impl Clone for WindowFrameUnits
impl Clone for WindowFrameUnits
Source§fn clone(&self) -> WindowFrameUnits
fn clone(&self) -> WindowFrameUnits
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 WindowFrameUnits
Source§impl Debug for WindowFrameUnits
impl Debug for WindowFrameUnits
Source§impl<'de> Deserialize<'de> for WindowFrameUnits
impl<'de> Deserialize<'de> for WindowFrameUnits
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 WindowFrameUnits
Source§impl Hash for WindowFrameUnits
impl Hash for WindowFrameUnits
Source§impl PartialEq for WindowFrameUnits
impl PartialEq for WindowFrameUnits
Source§impl Render for WindowFrameUnits
impl Render for WindowFrameUnits
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 WindowFrameUnits
impl Serialize for WindowFrameUnits
impl StructuralPartialEq for WindowFrameUnits
Auto Trait Implementations§
impl Freeze for WindowFrameUnits
impl RefUnwindSafe for WindowFrameUnits
impl Send for WindowFrameUnits
impl Sync for WindowFrameUnits
impl Unpin for WindowFrameUnits
impl UnsafeUnpin for WindowFrameUnits
impl UnwindSafe for WindowFrameUnits
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