Returns a map of field-level validation errors found for the struct that was validated and any of it's nested structs that are tagged for validation.
(&self)
| 135 | /// Returns a map of field-level validation errors found for the struct that was validated and |
| 136 | /// any of it's nested structs that are tagged for validation. |
| 137 | pub fn errors(&self) -> &HashMap<Cow<'static, str>, ValidationErrorsKind> { |
| 138 | &self.0 |
| 139 | } |
| 140 | |
| 141 | /// Returns a mutable map of field-level validation errors found for the struct that was validated and |
| 142 | /// any of it's nested structs that are tagged for validation. |
no outgoing calls