pub trait ValidateStructural {
// Required method
fn validate_structural(&self, result: &mut ValidationResult);
}Expand description
Types that can validate their own structural integrity.
Required Methods§
Sourcefn validate_structural(&self, result: &mut ValidationResult)
fn validate_structural(&self, result: &mut ValidationResult)
Append any structural violations found to result.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".