pub fn select<T: Queryable + SqlParams, F>( client: &mut Client, entity: T, to_model: F, ) -> Result<T, Error>where F: Fn(&Row) -> Result<T, Error>,