pub struct WindowFrame<'a> {
pub mode: WindowFrameMode,
pub start: WindowFrameBound<'a>,
pub between: Option<(Span, WindowFrameBound<'a>)>,
}Expand description
Window frame clause: ROWS/RANGE/GROUPS { frame_start | BETWEEN frame_start AND frame_end }
Fields§
§mode: WindowFrameModeROWS, RANGE, or GROUPS
start: WindowFrameBound<'a>The start bound (or sole bound when no BETWEEN)
between: Option<(Span, WindowFrameBound<'a>)>When BETWEEN was used: span covering “BETWEEN … AND” and the end bound
Trait Implementations§
Source§impl<'a> Clone for WindowFrame<'a>
impl<'a> Clone for WindowFrame<'a>
Source§fn clone(&self) -> WindowFrame<'a>
fn clone(&self) -> WindowFrame<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for WindowFrame<'a>
impl<'a> Debug for WindowFrame<'a>
Auto Trait Implementations§
impl<'a> Freeze for WindowFrame<'a>
impl<'a> RefUnwindSafe for WindowFrame<'a>
impl<'a> Send for WindowFrame<'a>
impl<'a> Sync for WindowFrame<'a>
impl<'a> Unpin for WindowFrame<'a>
impl<'a> UnsafeUnpin for WindowFrame<'a>
impl<'a> UnwindSafe for WindowFrame<'a>
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