pub trait ValidateParams { // Required method fn validate(&self) -> Result<(), ApiError>; }
Trait for custom parameter validation after JSON binding.