|
generate_borrowed_insert = false; // as soon as we hit one field with #[diesel(serialize_as)] there is no point in generating the impl of Insertable for borrowed structs |
This was tripping me up today because the guides and API docs were all saying using &mystruct should work, but the compiler said nuh-uh.