pub trait Validate { // Required method fn validate(&self, path: &str) -> Vec<ValidationError>; }
Trait for validatable UI components