postgres-querybuilder is a tool to help you build sql queries that you can then use with rust-postgres
postgres-querybuilder