Validate

Trait Validate 

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

A model type that can verify its own invariants.

Required Methods§

Implementors§