[][src]Enum postgres_parser::sys::QuerySource

#[repr(u32)]pub enum QuerySource {
    QSRC_ORIGINAL,
    QSRC_PARSER,
    QSRC_INSTEAD_RULE,
    QSRC_QUAL_INSTEAD_RULE,
    QSRC_NON_INSTEAD_RULE,
}

Possible sources of a Query

Variants

QSRC_ORIGINAL
QSRC_PARSER

original parsetree (explicit query)

QSRC_INSTEAD_RULE

added by parse analysis (now unused)

QSRC_QUAL_INSTEAD_RULE

added by unconditional INSTEAD rule

QSRC_NON_INSTEAD_RULE

added by conditional INSTEAD rule

Trait Implementations

impl Clone for QuerySource[src]

impl Copy for QuerySource[src]

impl Debug for QuerySource[src]

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

impl Eq for QuerySource[src]

impl Hash for QuerySource[src]

impl PartialEq<QuerySource> for QuerySource[src]

impl Serialize for QuerySource[src]

impl StructuralEq for QuerySource[src]

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