Validatable

Trait Validatable 

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

Validation trait for objects that can be validated

Required Methods§

Source

fn validate(&self) -> Result<()>

Validate the object

Implementors§