pub trait PatternTransform {
// Required method
fn apply(&self, input: &str) -> String;
}Expand description
Trait for applying transformations to strings
Implement this to create custom pattern-based transformations for error messages and data.