Skip to main content

ValidateParams

Trait ValidateParams 

Source
pub trait ValidateParams {
    // Required method
    fn validate(&self) -> Result<(), ApiError>;
}
Expand description

Trait for custom parameter validation after JSON binding.

Required Methods§

Implementors§