sfackler / rust-postgres

Native PostgreSQL driver for the Rust programming language
Apache License 2.0
3.42k stars 436 forks source link

feat(types): add default derive to json wrapper #1093

Closed TroyKomodo closed 7 months ago

TroyKomodo commented 7 months ago

Adds a Default impl for Json<T> where T: Default allowing for other structs to use the wrapper and implement Default.