FromRows

Trait FromRows 

Source
pub trait FromRows: Sized {
    // Required method
    fn from_rows(rows: SqlRows) -> SqlResult<Self>;
}

Required Methods§

Source

fn from_rows(rows: SqlRows) -> SqlResult<Self>

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<T: FromRow> FromRows for Vec<T>

Implementors§