pub struct WindowFunction {
pub function: WindowFunctionType,
pub alias: String,
pub partition_by: Vec<String>,
pub order_by: Vec<OrderByClause>,
pub frame: Option<WindowFrame>,
}Expand description
Window function specification
Fields§
§function: WindowFunctionTypeWindow function type
alias: StringResult column alias
partition_by: Vec<String>PARTITION BY columns
order_by: Vec<OrderByClause>ORDER BY within window
frame: Option<WindowFrame>Window frame specification
Trait Implementations§
Source§impl Clone for WindowFunction
impl Clone for WindowFunction
Source§fn clone(&self) -> WindowFunction
fn clone(&self) -> WindowFunction
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 Debug for WindowFunction
impl Debug for WindowFunction
Source§impl<'de> Deserialize<'de> for WindowFunction
impl<'de> Deserialize<'de> for WindowFunction
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
Auto Trait Implementations§
impl Freeze for WindowFunction
impl RefUnwindSafe for WindowFunction
impl Send for WindowFunction
impl Sync for WindowFunction
impl Unpin for WindowFunction
impl UnsafeUnpin for WindowFunction
impl UnwindSafe for WindowFunction
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