[][src]Struct postgres_parser::sys::WindowDef

#[repr(C)]pub struct WindowDef {
    pub type_: NodeTag,
    pub name: *mut c_char,
    pub refname: *mut c_char,
    pub partitionClause: *mut List,
    pub orderClause: *mut List,
    pub frameOptions: c_int,
    pub startOffset: *mut Node,
    pub endOffset: *mut Node,
    pub location: c_int,
}

WindowDef raw representation of WINDOW and OVER clauses

For entries in a WINDOW list, "name" is the window name being defined. For OVER clauses, we use "name" for the "OVER window" syntax, or "refname" for the "OVER (window)" syntax, which is subtly different the latter implies overriding the window frame clause.

Fields

type_: NodeTagname: *mut c_charrefname: *mut c_char

window's own name

partitionClause: *mut List

referenced window name, if any

orderClause: *mut List

PARTITION BY expression list

frameOptions: c_int

ORDER BY (list of SortBy)

startOffset: *mut Node

frame_clause options, see below

endOffset: *mut Node

expression for starting bound, if any

location: c_int

expression for ending bound, if any

Trait Implementations

impl Debug for WindowDef[src]

impl Default for WindowDef[src]

impl Eq for WindowDef[src]

impl Hash for WindowDef[src]

impl PartialEq<WindowDef> for WindowDef[src]

impl StructuralEq for WindowDef[src]

impl StructuralPartialEq for WindowDef[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.