[][src]Struct postgres_parser::nodes::OpExpr

pub struct OpExpr {
    pub opno: Oid,
    pub opfuncid: Oid,
    pub opresulttype: Oid,
    pub opretset: bool,
    pub opcollid: Oid,
    pub inputcollid: Oid,
    pub args: Option<Vec<Node>>,
    pub location: i32,
}

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

opno: Oidopfuncid: Oidopresulttype: Oidopretset: boolopcollid: Oidinputcollid: Oidargs: Option<Vec<Node>>location: i32

Trait Implementations

impl Debug for OpExpr[src]

impl<'de> Deserialize<'de> for OpExpr[src]

impl Eq for OpExpr[src]

impl PartialEq<OpExpr> for OpExpr[src]

impl Serialize 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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.