Trait FromPostgresRow

Source
pub trait FromPostgresRow {
    // Required method
    fn to_document(
        &self,
        field_names: Option<Vec<&str>>,
    ) -> Result<Document, Error>;
}

Required Methods§

Source

fn to_document(&self, field_names: Option<Vec<&str>>) -> Result<Document, Error>

Implementations on Foreign Types§

Source§

impl FromPostgresRow for PgRow

Source§

fn to_document(&self, field_names: Option<Vec<&str>>) -> Result<Document, Error>

Implementors§