[][src]Struct postgres_parser::sys::FieldSelect

#[repr(C)]pub struct FieldSelect {
    pub xpr: Expr,
    pub arg: *mut Expr,
    pub fieldnum: AttrNumber,
    pub resulttype: Oid,
    pub resulttypmod: int32,
    pub resultcollid: Oid,
}

FieldSelect

FieldSelect represents the operation of extracting one field from a tuple value. At runtime, the input expression is expected to yield a rowtype Datum. The specified field number is extracted and returned as a Datum.

Fields

xpr: Exprarg: *mut Exprfieldnum: AttrNumber

input expression

resulttype: Oid

attribute number of field to extract

resulttypmod: int32

type of the field (result type of this node)

resultcollid: Oid

output typmod (usually 1)

Trait Implementations

impl Debug for FieldSelect[src]

impl Default for FieldSelect[src]

impl Eq for FieldSelect[src]

impl Hash for FieldSelect[src]

impl PartialEq<FieldSelect> for FieldSelect[src]

impl StructuralEq for FieldSelect[src]

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