pub trait ValidationRule: Send + Sync {
// Required methods
fn validate(
&self,
_ctx: &mut OperationVisitorContext<'_>,
_error_collector: &mut ValidationErrorContext,
);
fn error_code<'a>(&self) -> &'a str;
}
pub trait ValidationRule: Send + Sync {
// Required methods
fn validate(
&self,
_ctx: &mut OperationVisitorContext<'_>,
_error_collector: &mut ValidationErrorContext,
);
fn error_code<'a>(&self) -> &'a str;
}