[][src]Enum postgres_parser::sys::CoercionContext

#[repr(u32)]pub enum CoercionContext {
    COERCION_IMPLICIT,
    COERCION_ASSIGNMENT,
    COERCION_EXPLICIT,
}

CoercionContext distinguishes the allowed set of type casts

NB: ordering of the alternatives is significant; later (larger) values allow more casts than earlier ones.

Variants

COERCION_IMPLICIT
COERCION_ASSIGNMENT

coercion in context of expression

COERCION_EXPLICIT

coercion in context of assignment

Trait Implementations

impl Clone for CoercionContext[src]

impl Copy for CoercionContext[src]

impl Debug for CoercionContext[src]

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

impl Eq for CoercionContext[src]

impl Hash for CoercionContext[src]

impl PartialEq<CoercionContext> for CoercionContext[src]

impl Serialize for CoercionContext[src]

impl StructuralEq for CoercionContext[src]

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