[][src]Struct postgres_parser::sys::NamedArgExpr

#[repr(C)]pub struct NamedArgExpr {
    pub xpr: Expr,
    pub arg: *mut Expr,
    pub name: *mut c_char,
    pub argnumber: c_int,
    pub location: c_int,
}

NamedArgExpr a named argument of a function

This node type can only appear in the args list of a FuncCall or FuncExpr node. We support pure positional call notation (no named arguments), named notation (all arguments are named), and mixed notation (unnamed arguments followed by named ones).

Parse analysis sets argnumber to the positional index of the argument, but doesn't rearrange the argument list.

The planner will convert argument lists to pure positional notation during expression preprocessing, so execution never sees a NamedArgExpr.

Fields

xpr: Exprarg: *mut Exprname: *mut c_char

the argument expression

argnumber: c_int

the name

location: c_int

argument's number in positional notation

Trait Implementations

impl Debug for NamedArgExpr[src]

impl Default for NamedArgExpr[src]

impl Eq for NamedArgExpr[src]

impl Hash for NamedArgExpr[src]

impl PartialEq<NamedArgExpr> for NamedArgExpr[src]

impl StructuralEq for NamedArgExpr[src]

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