[][src]Struct postgres_parser::sys::RangeFunction

#[repr(C)]pub struct RangeFunction {
    pub type_: NodeTag,
    pub lateral: bool,
    pub ordinality: bool,
    pub is_rowsfrom: bool,
    pub functions: *mut List,
    pub alias: *mut Alias,
    pub coldeflist: *mut List,
}

RangeFunction function call appearing in a FROM clause

functions is a List because we use this to represent the construct ROWS FROM(func1(...), func2(...), ...). Each element of this list is a twoelement sublist, the first element being the untransformed function call tree, and the second element being a possiblyempty list of ColumnDef nodes representing any columndef list attached to that function within the ROWS FROM() syntax.

alias and coldeflist represent any alias and/or columndef list attached at the top level. (We disallow coldeflist appearing both here and perfunction, but that's checked in parse analysis, not by the grammar.)

Fields

type_: NodeTaglateral: boolordinality: bool

does it have LATERAL prefix?

is_rowsfrom: bool

does it have WITH ORDINALITY suffix?

functions: *mut List

is result of ROWS FROM() syntax?

alias: *mut Alias

perfunction information, see above

coldeflist: *mut List

table alias & optional column aliases

Trait Implementations

impl Debug for RangeFunction[src]

impl Default for RangeFunction[src]

impl Eq for RangeFunction[src]

impl Hash for RangeFunction[src]

impl PartialEq<RangeFunction> for RangeFunction[src]

impl StructuralEq for RangeFunction[src]

impl StructuralPartialEq for RangeFunction[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.