Struct sqlparser::ast::WindowSpec
source · [−]pub struct WindowSpec {
pub partition_by: Vec<Expr>,
pub order_by: Vec<OrderByExpr>,
pub window_frame: Option<WindowFrame>,
}
Expand description
A window specification (i.e. OVER (PARTITION BY .. ORDER BY .. etc.)
)
Fields
partition_by: Vec<Expr>
order_by: Vec<OrderByExpr>
window_frame: Option<WindowFrame>
Trait Implementations
sourceimpl Clone for WindowSpec
impl Clone for WindowSpec
sourcefn clone(&self) -> WindowSpec
fn clone(&self) -> WindowSpec
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 more
sourceimpl Debug for WindowSpec
impl Debug for WindowSpec
sourceimpl Display for WindowSpec
impl Display for WindowSpec
sourceimpl Hash for WindowSpec
impl Hash for WindowSpec
sourceimpl PartialEq<WindowSpec> for WindowSpec
impl PartialEq<WindowSpec> for WindowSpec
sourcefn eq(&self, other: &WindowSpec) -> bool
fn eq(&self, other: &WindowSpec) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &WindowSpec) -> bool
fn ne(&self, other: &WindowSpec) -> bool
This method tests for !=
.
impl Eq for WindowSpec
impl StructuralEq for WindowSpec
impl StructuralPartialEq for WindowSpec
Auto Trait Implementations
impl RefUnwindSafe for WindowSpec
impl Send for WindowSpec
impl Sync for WindowSpec
impl Unpin for WindowSpec
impl UnwindSafe for WindowSpec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more