[][src]Struct postgres_parser::nodes::A_Indirection

pub struct A_Indirection {
    pub arg: Option<Box<Node>>,
    pub indirection: Option<Vec<Node>>,
}

A_Indirection select a field and/or array element from an expression

The indirection list can contain A_Indices nodes (representing subscripting), string Value nodes (representing field selection the string value is the name of the field to select), and A_Star nodes (representing selection of all fields of a composite type). For example, a complex selection operation like (foo).field1[42][7].field2 would be represented with a single A_Indirection node having a 4element indirection list.

Currently, A_Star must appear only as the last list element the grammar is responsible for enforcing this!

Fields

arg: Option<Box<Node>>indirection: Option<Vec<Node>>

Trait Implementations

impl Debug for A_Indirection[src]

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

impl Eq for A_Indirection[src]

impl PartialEq<A_Indirection> for A_Indirection[src]

impl Serialize for A_Indirection[src]

impl StructuralEq for A_Indirection[src]

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