1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
//! Validation trait and utilities. use anyhow::Result; pub mod action; pub mod app; pub mod arg; pub mod cluster; pub mod flow; pub mod flows; /// Trait for types that can be validated. pub trait ValidateTrait { fn validate(&self) -> Result<()>; }