[][src]Struct postgres_parser::sys::ArrayExpr

#[repr(C)]pub struct ArrayExpr {
    pub xpr: Expr,
    pub array_typeid: Oid,
    pub array_collid: Oid,
    pub element_typeid: Oid,
    pub elements: *mut List,
    pub multidims: bool,
    pub location: c_int,
}

ArrayExpr an ARRAY[] expression

Note: if multidims is false, the constituent expressions all yield the scalar type identified by element_typeid. If multidims is true, the constituent expressions all yield arrays of element_typeid (ie, the same type as array_typeid); at runtime we must check for compatible subscripts.

Fields

xpr: Exprarray_typeid: Oidarray_collid: Oid

type of expression result

element_typeid: Oid

OID of collation, or InvalidOid if none

elements: *mut List

common type of array elements

multidims: bool

the array elements or subarrays

location: c_int

true if elements are subarrays

Trait Implementations

impl Debug for ArrayExpr[src]

impl Default for ArrayExpr[src]

impl Eq for ArrayExpr[src]

impl Hash for ArrayExpr[src]

impl PartialEq<ArrayExpr> for ArrayExpr[src]

impl StructuralEq for ArrayExpr[src]

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