jprochazk / garde

A powerful validation library for Rust
Apache License 2.0
476 stars 28 forks source link

Add `Clone` and `Deserialize` to `Report` #89

Closed dpytaylo closed 9 months ago

dpytaylo commented 9 months ago

Could we add #[derive(Clone)] and #[derive(Deserialize)] to here? This addition would be helpful for those who store Report within their enums that require to implement Clone, as is my case. Also, I need to have Deserialize for my fullstack Rust application for checking a result on frontend.