[−][src]Struct postgres_parser::nodes::A_Indirection
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]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for A_Indirection
[src]
impl PartialEq<A_Indirection> for A_Indirection
[src]
fn eq(&self, other: &A_Indirection) -> bool
[src]
fn ne(&self, other: &A_Indirection) -> bool
[src]
impl Serialize for A_Indirection
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for A_Indirection
[src]
impl StructuralPartialEq for A_Indirection
[src]
Auto Trait Implementations
impl RefUnwindSafe for A_Indirection
impl Send for A_Indirection
impl Sync for A_Indirection
impl Unpin for A_Indirection
impl UnwindSafe for A_Indirection
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,