[][src]Struct postgres_parser::sys::MultiAssignRef

#[repr(C)]pub struct MultiAssignRef {
    pub type_: NodeTag,
    pub source: *mut Node,
    pub colno: c_int,
    pub ncolumns: c_int,
}

MultiAssignRef element of a row source expression for UPDATE

In an UPDATE target list, when we have SET (a,b,c) = rowvaluedexpression, we generate separate ResTarget items for each of a,b,c. Their "val" trees are MultiAssignRef nodes numbered 1..n, linking to a common copy of the rowvaluedexpression (which parse analysis will process only once, when handling the MultiAssignRef with colno=1).

Fields

type_: NodeTagsource: *mut Nodecolno: c_int

the rowvalued expression

ncolumns: c_int

column number for this target (1..n)

Trait Implementations

impl Debug for MultiAssignRef[src]

impl Default for MultiAssignRef[src]

impl Eq for MultiAssignRef[src]

impl Hash for MultiAssignRef[src]

impl PartialEq<MultiAssignRef> for MultiAssignRef[src]

impl StructuralEq for MultiAssignRef[src]

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