[][src]Struct postgres_parser::sys::OpExpr

#[repr(C)]pub struct OpExpr {
    pub xpr: Expr,
    pub opno: Oid,
    pub opfuncid: Oid,
    pub opresulttype: Oid,
    pub opretset: bool,
    pub opcollid: Oid,
    pub inputcollid: Oid,
    pub args: *mut List,
    pub location: c_int,
}

OpExpr expression node for an operator invocation

Semantically, this is essentially the same as a function call.

Note that opfuncid is not necessarily filled in immediately on creation of the node. The planner makes sure it is valid before passing the node tree to the executor, but during parsing/planning opfuncid can be 0.

Fields

xpr: Expropno: Oidopfuncid: Oid

PG_OPERATOR OID of the operator

opresulttype: Oid

PG_PROC OID of underlying function

opretset: bool

PG_TYPE OID of result value

opcollid: Oid

true if operator returns set

inputcollid: Oid

OID of collation of result

args: *mut List

OID of collation that operator should use

location: c_int

arguments to the operator (1 or 2)

Trait Implementations

impl Debug for OpExpr[src]

impl Default for OpExpr[src]

impl Eq for OpExpr[src]

impl Hash for OpExpr[src]

impl PartialEq<OpExpr> for OpExpr[src]

impl StructuralEq for OpExpr[src]

impl StructuralPartialEq for OpExpr[src]

Auto Trait Implementations

impl RefUnwindSafe for OpExpr

impl !Send for OpExpr

impl !Sync for OpExpr

impl Unpin for OpExpr

impl UnwindSafe for OpExpr

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.