[][src]Enum postgres_parser::sys::NullTestType

#[repr(u32)]pub enum NullTestType {
    IS_NULL,
    IS_NOT_NULL,
}

NullTest

NullTest represents the operation of testing a value for NULLness. The appropriate test is performed and returned as a boolean Datum.

When argisrow is false, this simply represents a test for the null value.

When argisrow is true, the input expression must yield a rowtype, and the node implements "row IS [NOT] NULL" per the SQL standard. This includes checking individual fields for NULLness when the row datum itself isn't NULL.

NOTE: the combination of a rowtype input and argisrow==false does NOT correspond to the SQL notation "row IS [NOT] NULL"; instead, this case represents the SQL notation "row IS [NOT] DISTINCT FROM NULL".

Variants

IS_NULL
IS_NOT_NULL

Trait Implementations

impl Clone for NullTestType[src]

impl Copy for NullTestType[src]

impl Debug for NullTestType[src]

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

impl Eq for NullTestType[src]

impl Hash for NullTestType[src]

impl PartialEq<NullTestType> for NullTestType[src]

impl Serialize for NullTestType[src]

impl StructuralEq for NullTestType[src]

impl StructuralPartialEq for NullTestType[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.