[][src]Enum postgres_parser::sys::VariableSetKind

#[repr(u32)]pub enum VariableSetKind {
    VAR_SET_VALUE,
    VAR_SET_DEFAULT,
    VAR_SET_CURRENT,
    VAR_SET_MULTI,
    VAR_RESET,
    VAR_RESET_ALL,
}

SET Statement (includes RESET)

"SET var TO DEFAULT" and "RESET var" are semantically equivalent, but we preserve the distinction in VariableSetKind for CreateCommandTag().

Variants

VAR_SET_VALUE
VAR_SET_DEFAULT

SET var = value

VAR_SET_CURRENT

SET var TO DEFAULT

VAR_SET_MULTI

SET var FROM CURRENT

VAR_RESET

special case for SET TRANSACTION ...

VAR_RESET_ALL

RESET var

Trait Implementations

impl Clone for VariableSetKind[src]

impl Copy for VariableSetKind[src]

impl Debug for VariableSetKind[src]

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

impl Eq for VariableSetKind[src]

impl Hash for VariableSetKind[src]

impl PartialEq<VariableSetKind> for VariableSetKind[src]

impl Serialize for VariableSetKind[src]

impl StructuralEq for VariableSetKind[src]

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