From 0420d9256727856c74d4af9091dc842aa5a1d9ea Mon Sep 17 00:00:00 2001 From: Gavin Hayes Date: Mon, 15 Apr 2024 19:19:24 -0400 Subject: [PATCH] chore: expose Report so traits can be implemented for it --- validation/src/lib.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/validation/src/lib.rs b/validation/src/lib.rs index 9723aba..036746c 100644 --- a/validation/src/lib.rs +++ b/validation/src/lib.rs @@ -297,16 +297,16 @@ impl Display for Classification { #[derive(Debug, Deserialize, Serialize)] pub struct FailureDetail { - actual: String, - expected: String, - severity: usize, - classification: Classification, + pub actual: String, + pub expected: String, + pub severity: usize, + pub classification: Classification, } #[derive(Debug, Deserialize, Serialize)] pub struct Report { /// k/v pair of the dot-separated path to validation field and expectation info - fails: BTreeMap, + pub fails: BTreeMap, } impl Report {