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

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

Determines the OID of types at runtime

Methods

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 Send for PgMetadataLookup

impl !Sync for PgMetadataLookup

impl Unpin for PgMetadataLookup

impl UnwindSafe for PgMetadataLookup

impl !RefUnwindSafe for PgMetadataLookup

Blanket Implementations

impl<T> IntoSql for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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