[][src]Struct diesel::pg::PgMetadataLookup

#[repr(transparent)]pub struct PgMetadataLookup { /* fields omitted */ }

Determines the OID of types at runtime


impl PgMetadataLookup[src]

pub fn lookup_type(&self, type_name: &str) -> PgTypeMetadata[src]

Determine the type metadata for the given type_name

This function should only be used for user defined types, or types which come from an extension. This function may perform a SQL query to look up the type. For built-in types, a static OID should be preferred.

Auto Trait Implementations

impl !RefUnwindSafe for PgMetadataLookup

impl Send for PgMetadataLookup

impl !Sync for PgMetadataLookup

impl Unpin for PgMetadataLookup

impl UnwindSafe for PgMetadataLookup

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> IntoSql for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.