pub trait Validate {
// Required method
fn validate(self) -> Result<Self, ValidationError>
where Self: Sized;
}pub trait Validate {
// Required method
fn validate(self) -> Result<Self, ValidationError>
where Self: Sized;
}