PgRowOptionExt

Trait PgRowOptionExt 

Source
pub trait PgRowOptionExt {
    // Required method
    fn cast<'de, T>(&self) -> Result<Option<T>, PgDeError>
       where T: Deserialize<'de>;
}

Required Methods§

Source

fn cast<'de, T>(&self) -> Result<Option<T>, PgDeError>
where T: Deserialize<'de>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl PgRowOptionExt for Option<&PgRow>

Source§

fn cast<'de, T>(&self) -> Result<Option<T>, PgDeError>
where T: Deserialize<'de>,

Implementors§