[][src]Struct postgres_parser::nodes::ColumnRef

pub struct ColumnRef {
    pub fields: Option<Vec<Node>>,
    pub location: i32,
}

ColumnRef specifies a reference to a column, or possibly a whole tuple

The "fields" list must be nonempty. It can contain string Value nodes (representing names) and A_Star nodes (representing occurrence of a '*'). Currently, A_Star must appear only as the last list element the grammar is responsible for enforcing this!

Note: any container subscripting or selection of fields from composite columns is represented by an A_Indirection node above the ColumnRef. However, for simplicity in the normal case, initial field selection from a table name is represented within ColumnRef and not by adding A_Indirection.

Fields

fields: Option<Vec<Node>>location: i32

Trait Implementations

impl Debug for ColumnRef[src]

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

impl Eq for ColumnRef[src]

impl PartialEq<ColumnRef> for ColumnRef[src]

impl Serialize for ColumnRef[src]

impl StructuralEq for ColumnRef[src]

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