[][src]Struct postgres_parser::nodes::WindowDef

pub struct WindowDef {
    pub name: Option<String>,
    pub refname: Option<String>,
    pub partitionClause: Option<Vec<Node>>,
    pub orderClause: Option<Vec<Node>>,
    pub frameOptions: i32,
    pub startOffset: Option<Box<Node>>,
    pub endOffset: Option<Box<Node>>,
    pub location: i32,
}

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

name: Option<String>refname: Option<String>partitionClause: Option<Vec<Node>>orderClause: Option<Vec<Node>>frameOptions: i32startOffset: Option<Box<Node>>endOffset: Option<Box<Node>>location: i32

Trait Implementations

impl Debug for WindowDef[src]

impl<'de> Deserialize<'de> for WindowDef[src]

impl Eq for WindowDef[src]

impl PartialEq<WindowDef> for WindowDef[src]

impl Serialize 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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.