[][src]Enum postgres_parser::sys::CoercionForm

#[repr(u32)]pub enum CoercionForm {
    COERCE_EXPLICIT_CALL,
    COERCE_EXPLICIT_CAST,
    COERCE_IMPLICIT_CAST,
}

CoercionForm how to display a node that could have come from a cast

NB: equal() ignores CoercionForm fields, therefore this must not carry any semantically significant information. We need that behavior so that the planner will consider equivalent implicit and explicit casts to be equivalent. In cases where those actually behave differently, the coercion function's arguments will be different.

Variants

COERCE_EXPLICIT_CALL
COERCE_EXPLICIT_CAST

display as a function call

COERCE_IMPLICIT_CAST

display as an explicit cast

Trait Implementations

impl Clone for CoercionForm[src]

impl Copy for CoercionForm[src]

impl Debug for CoercionForm[src]

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

impl Eq for CoercionForm[src]

impl Hash for CoercionForm[src]

impl PartialEq<CoercionForm> for CoercionForm[src]

impl Serialize for CoercionForm[src]

impl StructuralEq for CoercionForm[src]

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