[][src]Struct postgres_parser::nodes::ScalarArrayOpExpr

pub struct ScalarArrayOpExpr {
    pub opno: Oid,
    pub opfuncid: Oid,
    pub useOr: bool,
    pub inputcollid: Oid,
    pub args: Option<Vec<Node>>,
    pub location: i32,
}

ScalarArrayOpExpr expression node for "scalar op ANY/ALL (array)"

The operator must yield boolean. It is applied to the left operand and each element of the righthand array, and the results are combined with OR or AND (for ANY or ALL respectively). The node representation is almost the same as for the underlying operator, but we need a useOr flag to remember whether it's ANY or ALL, and we don't have to store the result type (or the collation) because it must be boolean.

Fields

opno: Oidopfuncid: OiduseOr: boolinputcollid: Oidargs: Option<Vec<Node>>location: i32

Trait Implementations

impl Debug for ScalarArrayOpExpr[src]

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

impl Eq for ScalarArrayOpExpr[src]

impl PartialEq<ScalarArrayOpExpr> for ScalarArrayOpExpr[src]

impl Serialize for ScalarArrayOpExpr[src]

impl StructuralEq for ScalarArrayOpExpr[src]

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