[−][src]Struct postgres_parser::sys::ResTarget
ResTarget result target (used in target list of pretransformed parse trees)
In a SELECT target list, 'name' is the column label from an 'AS ColumnLabel' clause, or NULL if there was none, and 'val' is the value expression itself. The 'indirection' field is not used.
INSERT uses ResTarget in its targetcolumnnames list. Here, 'name' is the name of the destination column, 'indirection' stores any subscripts attached to the destination, and 'val' is not used.
In an UPDATE target list, 'name' is the name of the destination column, 'indirection' stores any subscripts attached to the destination, and 'val' is the expression to assign.
See A_Indirection for more info about what can appear in 'indirection'.
Fields
type_: NodeTag
name: *mut c_char
indirection: *mut List
column name or NULL
val: *mut Node
subscripts, field names, and '*', or NIL
location: c_int
the value expression to compute or assign
Trait Implementations
impl Debug for ResTarget
[src]
impl Default for ResTarget
[src]
impl Eq for ResTarget
[src]
impl Hash for ResTarget
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<ResTarget> for ResTarget
[src]
impl StructuralEq for ResTarget
[src]
impl StructuralPartialEq for ResTarget
[src]
Auto Trait Implementations
impl RefUnwindSafe for ResTarget
impl !Send for ResTarget
impl !Sync for ResTarget
impl Unpin for ResTarget
impl UnwindSafe for ResTarget
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> 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>,