pub struct WindowSpec {
pub partition_by: Vec<Expr, Global>,
pub order_by: Vec<OrderByExpr, Global>,
pub window_frame: Option<WindowFrame>,
}Expand description
A window specification (i.e. OVER (PARTITION BY .. ORDER BY .. etc.))
Fields
partition_by: Vec<Expr, Global>order_by: Vec<OrderByExpr, Global>window_frame: Option<WindowFrame>Trait Implementations
impl Clone for WindowSpec
impl Clone for WindowSpec
fn 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
impl Debug for WindowSpec
impl Debug for WindowSpec
impl<'de> Deserialize<'de> for WindowSpec
impl<'de> Deserialize<'de> for WindowSpec
fn deserialize<__D>(
__deserializer: __D
) -> Result<WindowSpec, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<WindowSpec, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Display for WindowSpec
impl Display for WindowSpec
impl Hash for WindowSpec
impl Hash for WindowSpec
impl PartialEq<WindowSpec> for WindowSpec
impl PartialEq<WindowSpec> for WindowSpec
fn 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
fn ne(&self, other: &WindowSpec) -> bool
fn ne(&self, other: &WindowSpec) -> bool
This method tests for !=.
impl Serialize for WindowSpec
impl Serialize for WindowSpec
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.
impl<T> Pointable for T
impl<T> Pointable for T
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