diff --git a/examples/postgres/all_about_inserts/src/lib.rs b/examples/postgres/all_about_inserts/src/lib.rs index 23eb4e201ecf..664ebde1d7ff 100644 --- a/examples/postgres/all_about_inserts/src/lib.rs +++ b/examples/postgres/all_about_inserts/src/lib.rs @@ -30,7 +30,7 @@ pub struct UserForm<'a> { } #[derive(Queryable, PartialEq, Debug)] -struct User { +pub struct User { id: i32, name: String, hair_color: Option,